OSDN Git Service

mmc: sdhci-{pxav2,pxav3}: Use of_match_ptr() macro
authorAxel Lin <axel.lin@ingics.com>
Tue, 5 May 2015 09:11:54 +0000 (17:11 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:53 +0000 (09:06 +0200)
commit59d22309c46e807cef8d892316f6d08b715d6652
treea4e5a09efecd3a3fd300aa4efe49787acc7ed962
parent308f3f8d8112ea9af6e10564f4012f2d1f94f062
mmc: sdhci-{pxav2,pxav3}: Use of_match_ptr() macro

This eliminates having an #ifdef returning NULL for the case
when OF is disabled.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav2.c
drivers/mmc/host/sdhci-pxav3.c