android_kernel_motorola_sm6225/drivers/mmc/host
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
..
atmel-mci-regs.h mmc: atmel-mci: AP700x PDC is not connected to MCI 2012-10-03 10:05:23 -04:00
atmel-mci.c MMC highlights for 3.7: 2012-10-10 10:58:42 +09:00
au1xmmc.c MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00
bfin_sdh.c mmc: bfin_sdh: Reset SD controller when resume from power saving mode. 2012-09-04 13:58:20 -04:00
cb710-mmc.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
cb710-mmc.h mmc: Driver for CB710/720 memory card reader (MMC part) 2009-06-13 22:42:58 +02:00
davinci_mmc.c MMC highlights for 3.7: 2012-10-10 10:58:42 +09:00
dw_mmc-exynos.c mmc: dw_mmc: constify dw_mci_idmac_ops in exynos back-end 2012-11-07 15:02:55 -05:00
dw_mmc-pci.c mmc: dw_mmc: use __devexit_p macro for .remove() 2012-12-06 13:54:37 -05:00
dw_mmc-pltfm.c mmc: dw_mmc: use helper macro module_platform_driver() 2012-12-06 13:54:38 -05:00
dw_mmc-pltfm.h mmc: dw_mmc: constify dw_mci_idmac_ops in exynos back-end 2012-11-07 15:02:55 -05:00
dw_mmc.c mmc: dw_mmc: Add sdio power bindings 2012-12-06 13:54:54 -05:00
dw_mmc.h mmc: dw_mmc: add support for implementation specific callbacks 2012-10-03 10:05:19 -04:00
jz4740_mmc.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
Kconfig mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650 2012-12-06 13:54:50 -05:00
Makefile mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650 2012-12-06 13:54:50 -05:00
mmc_spi.c mmc: mmc_spi: Use module_spi_driver 2012-09-04 13:58:29 -04:00
mmci.c mmc: mmci: use clk_prepare_enable and clk_disable_unprepare 2012-10-03 10:05:21 -04:00
mmci.h ARM: 7280/1: mmc: mmci: Cache MMCICLOCK and MMCIPOWER register 2012-02-02 17:02:15 +00:00
msm_sdcc.c ARM: msm: move platform_data definitions 2012-09-14 11:17:35 +02:00
msm_sdcc.h mmc: msm_sdcc: Use MCI_INT_MASK0 for PIO interrupts 2011-10-26 15:43:37 -04:00
mvsdio.c ARM: orion: move platform_data definitions 2012-09-19 17:42:17 +02:00
mvsdio.h mmc: SDIO driver for Marvell SoCs 2009-03-24 21:30:03 +01:00
mxcmmc.c mmc: mxcmmc: fix SD cards not being detected sometimes. 2012-12-06 13:54:38 -05:00
mxs-mmc.c mmc: mxs-mmc: Remove platform data 2012-12-06 13:54:44 -05:00
of_mmc_spi.c mmc: of_mmc_spi: fix little endian support 2012-02-13 20:38:58 -05:00
omap.c ARM: OMAP1: Make plat/mux.h omap1 only 2012-09-20 14:54:57 -07:00
omap_hsmmc.c mmc: omap_hsmmc: Cleanup bitmap definitions of Interrupt Register 2012-12-06 13:54:58 -05:00
pxamci.c MMC highlights for 3.7: 2012-10-10 10:58:42 +09:00
pxamci.h [ARM] pxa: mmc: add 1st host controller support for pxa3xx 2008-01-26 15:07:53 +00:00
s3cmci.c ARM: samsung: move platform_data definitions 2012-09-19 17:42:18 +02:00
s3cmci.h s3cmci: DMA fixes 2009-10-01 16:11:15 -07:00
sdhci-cns3xxx.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
sdhci-dove.c mmc: fix sdhci-dove probe/removal 2012-11-07 15:02:03 -05:00
sdhci-esdhc-imx.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
sdhci-esdhc.h mmc: sdhci-esdhc: break out early if clock is 0 2012-09-04 13:58:06 -04:00
sdhci-of-esdhc.c mmc: sdhci-of-esdhc: support commands with busy response expecting TC 2012-12-06 13:55:00 -05:00
sdhci-of-hlwd.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
sdhci-pci-data.c mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-pci.c mmc: sdhci-pci: fix 'Invalid iomem size' error message condition 2012-11-07 15:02:01 -05:00
sdhci-pltfm.c mmc: sdhci-pltfm: Support optional pm properties 2012-12-06 13:54:53 -05:00
sdhci-pltfm.h mmc: sdhci: remove "state" argument from sdhci_suspend_host 2011-12-19 15:50:11 -08:00
sdhci-pxav2.c mmc: sdhci-pxav2, sdhci-pxav3: use clk_prepare/unprepare APIs 2012-09-04 13:58:15 -04:00
sdhci-pxav3.c mmc: sdhci-pxav3: add quirks2 2012-12-06 13:54:51 -05:00
sdhci-s3c.c mmc: host: sdhci-s3c: Use devm_gpio_request to request GPIOs 2012-12-06 13:55:00 -05:00
sdhci-spear.c mmc: sdhci-spear: Add clk_{un}prepare() support 2012-10-07 17:41:45 -04:00
sdhci-tegra.c ARM: SoC fixes 2012-10-11 10:21:48 +09:00
sdhci.c mmc: sdhci: Use regulator min/max voltage range according to spec 2012-12-06 13:54:50 -05:00
sdhci.h mmc: sdhci-of-esdhc: disable CMD23 for some Freescale SoCs 2012-11-07 14:55:29 -05:00
sdricoh_cs.c mmc: Add module.h to drivers/mmc users assuming implicit presence. 2011-10-26 16:32:19 -04:00
sh_mmcif.c mmc: sh-mmcif: avoid oops on spurious interrupts (second try) 2012-12-06 13:54:35 -05:00
sh_mobile_sdhi.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-07-24 17:12:54 -07:00
tifm_sd.c Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
tmio_mmc.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
tmio_mmc.h mmc: tmio_mmc: remove unused sdio_irq_enabled flag 2012-03-27 12:20:17 -04:00
tmio_mmc_dma.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-03-29 15:34:57 -07:00
tmio_mmc_pio.c mmc: tmio: use generic GPIO CD and WP handlers 2012-07-21 00:02:20 -04:00
ushc.c USB: convert some miscellanies drivers to use module_usb_driver() 2011-11-18 09:52:10 -08:00
via-sdmmc.c mmc: via-sdmmc: Use module_pci_driver 2012-09-04 13:58:30 -04:00
vub300.c MMC highlights for 3.7: 2012-10-10 10:58:42 +09:00
wbsd.c mmc: replace printk with appropriate display macro 2011-10-26 16:32:22 -04:00
wbsd.h mmc: update header file paths 2007-07-26 01:53:31 +02:00
wmt-sdmmc.c mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650 2012-12-06 13:54:50 -05:00