]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc05057da35ecd39766410dfbb9224e0fea131d7
treea4e5a09efecd3a3fd300aa4efe49787acc7ed962
parent2525765791e7ce48d1e225b427141772dd053a8e
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