mmc: omap_hsmmc: use devm_regulator API
authorBalaji T K <balajitk@ti.com>
Wed, 19 Feb 2014 14:56:40 +0000 (20:26 +0530)
committerChris Ball <chris@printf.net>
Tue, 4 Mar 2014 16:44:41 +0000 (11:44 -0500)
commitf2ddc1dab61018becf4c5e275bb559d96eec8035
tree22e83f4ea6f5ff2145b52fd92d4f591ee0d65db9
parentc9ae64db673d5b0bdd6494a59afcc5ed72669932
mmc: omap_hsmmc: use devm_regulator API

Use devm_regulator API, while at it use
devm_regulator_get_optional for optional vmmc_aux supply

Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Florian Vaussard <florian.vaussard@epfl.ch>
Tested-by: Stefan Roese <sr@denx.de>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/omap_hsmmc.c