mmc: pxamci: call mmc_of_parse()
authorDaniel Mack <daniel@zonque.org>
Sat, 30 Jun 2018 18:14:03 +0000 (20:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Jul 2018 09:21:45 +0000 (11:21 +0200)
commitfa3a5115469c2d1fdb32ea08e8bc6e3b105630a6
tree799672465d0c9c13600adc7f561e22db7af123c7
parent0da5358b29321c4f59cc7b3e00b536c5ec06a8bb
mmc: pxamci: call mmc_of_parse()

Call into mmc_of_parse() from pxamci_of_init(). As it needs a pointer to a
struct mmc_host, refactor the code a bit.

This allows all generic MMC properties to be set that are described in
Documentation/devicetree/bindings/mmc/mmc.txt. Reword the documentation
a bit to make that clear.

The "cd" and "wp" gpio lookups are removed as the lookup will now be
done by mmc_of_parse().

Signed-off-by: Daniel Mack <daniel@zonque.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/pxa-mmc.txt
drivers/mmc/host/pxamci.c