OMAP2/3: mmc-twl4030: Free up MMC regulators while cleaning up
commit22833044fbe2764d44ae03f58508e671652ca186
authorRoger Quadros <ext-roger.quadros@nokia.com>
Mon, 10 Aug 2009 11:49:51 +0000 (10 14:49 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Aug 2009 11:49:51 +0000 (10 14:49 +0300)
treeac80af411b34c65a3e5ecbed9fcaa23719fdb47d
parentdfc27b34496923b5f552eb9cdf20468045114ada
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