linux-stable/drivers/mmc
Tomasz Figa b1b8fea94f mmc: host: sdhci-s3c: Use devm_gpio_request to request GPIOs
The set of GPIO pins used by sdhci-s3c driver varies between
configurations, such as card detect method, pinctrl availability, etc.
This overly complicates the code requesting and freeing GPIO pins, which
must check which pins are used, when freeing them.

This patch modifies the sdhci-s3c driver to use devm_gpio_request to
free requested pins automatically after unbinding the driver.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-12-06 13:55:00 -05:00
..
card mmc: card: Add RPMB support in IOCTL interface 2012-12-06 13:54:49 -05:00
core mmc: core: Add mmc_set_blockcount feature 2012-12-06 13:54:48 -05:00
host mmc: host: sdhci-s3c: Use devm_gpio_request to request GPIOs 2012-12-06 13:55:00 -05:00
Kconfig
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00