linux/drivers/mmc/host
Linus Walleij 99fc513101 mmc: Move regulator handling closer to core
After discovering a problem in regulator reference counting I took Mark
Brown's advice to move the reference count into the MMC core by making the
regulator status a member of struct mmc_host.

I took this opportunity to also implement NULL versions of
the regulator functions so as to rid the driver code from
some ugly #ifdef CONFIG_REGULATOR clauses.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Sundar Iyer <sundar.iyer@stericsson.com>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Matt Fleming <matt@console-pimps.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Cliff Brake <cbrake@bec-systems.com>
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2010-10-23 21:11:16 +08:00
..
at91_mci.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
atmel-mci-regs.h
atmel-mci.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
au1xmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
bfin_sdh.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
cb710-mmc.c
cb710-mmc.h
davinci_mmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
imxmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
imxmmc.h
jz4740_mmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
Kconfig mmc: USB SD Host Controller (USHC) driver 2010-10-23 21:11:11 +08:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
mmc_spi.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
mmci.c mmc: Move regulator handling closer to core 2010-10-23 21:11:16 +08:00
mmci.h ARM: 6437/2: mmci: add some register defines for ST Micro variants 2010-10-11 22:54:34 +01:00
msm_sdcc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
msm_sdcc.h
mvsdio.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
mvsdio.h
mxcmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
of_mmc_spi.c
omap_hsmmc.c mmc: Move regulator handling closer to core 2010-10-23 21:11:16 +08:00
omap.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
pxamci.c mmc: Move regulator handling closer to core 2010-10-23 21:11:16 +08:00
pxamci.h
s3cmci.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
s3cmci.h
sdhci-cns3xxx.c
sdhci-of-core.c
sdhci-of-esdhc.c
sdhci-of-hlwd.c
sdhci-of.h
sdhci-pci.c
sdhci-pltfm.c
sdhci-pltfm.h
sdhci-s3c.c mmc: sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove 2010-09-26 16:27:05 -04:00
sdhci-spear.c
sdhci.c mmc: sdhci: disable MMC_CAP_NEEDS_POLL in nonremovable case 2010-10-23 21:11:15 +08:00
sdhci.h mmc: SDHC 3.0: correct f_min calculation for SD 3.0 spec 2010-10-23 21:11:14 +08:00
sdricoh_cs.c pcmcia: move driver name to struct pcmcia_driver 2010-09-29 17:20:24 +02:00
sh_mmcif.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
tifm_sd.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
tmio_mmc.c mmc: fix the use of kunmap_atomic() in tmio_mmc.h 2010-09-09 18:57:23 -07:00
tmio_mmc.h mmc: fix the use of kunmap_atomic() in tmio_mmc.h 2010-09-09 18:57:23 -07:00
ushc.c mmc: USB SD Host Controller (USHC) driver 2010-10-23 21:11:11 +08:00
via-sdmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
wbsd.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
wbsd.h