summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2012-11-25 15:40:44 -0500
committerChris Ball <cjb@laptop.org>2012-12-06 13:55:00 -0500
commitb1b8fea94f4c71b5503b7e29974635121f44b302 (patch)
tree080558048b5ea99f1efbfe4368387440ea30d673 /drivers/mtd
parent3cf38833c7fc72b4f4757fc5d0b4cd43ac192e55 (diff)
downloadlinux-b1b8fea94f4c71b5503b7e29974635121f44b302.tar.bz2
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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions