mmc: host: switch OF parser to use gpio descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Aug 2014 11:00:52 +0000 (13:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 12:25:14 +0000 (14:25 +0200)
commit98e90de99a0c43bd434da814c882c4332441871e
treed5c7c402b9668506315f4c26534ffde4703fe83b
parent9d2fa2428ae149ba3a5b7a4ceb0a9e11f1882b3b
mmc: host: switch OF parser to use gpio descriptors

This switches the central MMC OF parser to use gpio descriptors
instead of grabbing GPIOs explicitly from the device tree.
This strips out an unecessary use of the integer-based GPIO
API that we want to get rid of, cuts down on code as the
gpio descriptor code will handle active low flags.

Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/host.c