regulator: twl6030: do not write to _GRP for regulator enable
authorBalaji T K <balajitk@ti.com>
Fri, 20 May 2011 13:33:51 +0000 (19:03 +0530)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:49:29 +0000 (10:49 +0100)
commitf8c2940bcd623b4d185d4ff7ff5678a4508939b3
tree9257c5a985cfd80b53e0f427af34634b40c798a6
parent6851ad3ab3461966adfffe8789372fe8256da792
regulator: twl6030: do not write to _GRP for regulator enable

TWL6030: regulator is enabled via VREG_STATE
TWL4030: regulator is enabled via VREG_GRP
Since there is nothing common, split twlreg_enable similar to other regulator_ops

Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/twl-regulator.c