mmc: omap_hsmmc: use slot-gpio library for gpio support.
authorNeilBrown <neilb@suse.de>
Mon, 12 Jan 2015 19:23:18 +0000 (08:23 +1300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:29 +0000 (09:56 +0100)
commit41afa31419fadb8c5009171a53205e1c8d7e11f0
treeb1c858f696d9c3cb22e63b26f5c4f9ea3ab2d68f
parentc7ea834d81904b71505093f7ec50d036132cf628
mmc: omap_hsmmc: use slot-gpio library for gpio support.

Using the common code removes some code duplication, and
makes it easier to switch to using mmc_of_parse() which
will remove more duplication.

This uses the new mmc_gpio_request_cd_isr to provide a non-standard
interrupt service routine for card-detect interrupts.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c