]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP2/3: mmc-twl4030: Free up MMC regulators while cleaning up
authorRoger Quadros <ext-roger.quadros@nokia.com>
Mon, 10 Aug 2009 11:49:51 +0000 (14:49 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Aug 2009 11:49:51 +0000 (14:49 +0300)
commit920fa0e5006cbc46a6e4dde5746671b20a450297
treeac80af411b34c65a3e5ecbed9fcaa23719fdb47d
parent5f769a1d7ac858fd8a19036de9d4572370f6f138
OMAP2/3: mmc-twl4030: Free up MMC regulators while cleaning up

twl_mmc_cleanup() must free up the regulators that were
allocated by twl_mmc_late_init().
This eliminates the below error when 'omap_hsmmc' module is
repeatedly loaded and unloaded.

"sysfs: cannot create duplicate filename '/devices/platform
 /mmci-omap-hs.0/microamps_requested_vmmc'"

Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mmc-twl4030.c