omap_hsmmc: Ensure regulator enable / disable are paired
authorAdrian Hunter <adrian.hunter@nokia.com>
Mon, 15 Feb 2010 18:03:34 +0000 (10:03 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Feb 2010 18:03:34 +0000 (10:03 -0800)
commit6da20c89af64b75302399369a90b9d50c1a87665
treeb5986493f8d2e1c06af6aa3f63944bdc2dc45d03
parent4380eea266940a82e5b8edd5c16ce0289679bcfe
omap_hsmmc: Ensure regulator enable / disable are paired

Stop using 'regulator_is_enabled()' and just pair enables
with disables so that the regulator reference counts can
work correctly.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap_hsmmc.c