regulator: lp8788-ldo: use ena_pin of regulator-core for external control
authorKim, Milo <Milo.Kim@ti.com>
Mon, 18 Feb 2013 06:51:02 +0000 (06:51 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Mar 2013 02:37:57 +0000 (10:37 +0800)
commit407945fd78c3fddef83ba17bf2250112c07dc7c1
tree28ed41bd35527cbd4df66701e096cc1068305385
parent7b74d149247c8972da1cec3e4c70b67049aaeb69
regulator: lp8788-ldo: use ena_pin of regulator-core for external control

 Regulator core driver provides enable GPIO control for enabling/disabling a
 regulator. Now, enable GPIO is shared among regulators.
 Use this internal working, so unnecessary code are removed.
 GPIO enable pin configurations are added in digital LDO and analog LDO drivers.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/lp8788-ldo.c