regulator: twl6030: do not write to _GRP for regulator disable
authorBalaji T K <balajitk@ti.com>
Fri, 20 May 2011 13:33:52 +0000 (18:33 +0530)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:49:29 +0000 (10:49 +0100)
commit0ff3897d79d4607d37432b3eb81a304f7e4b4841
tree78b347c8482bb0a1e4998a4333bbf0f70631cb9c
parentf8c2940bcd623b4d185d4ff7ff5678a4508939b3
regulator: twl6030: do not write to _GRP for regulator disable

TWL6030: regulator is disabled via VREG_STATE
TWL4030: regulator is disabled 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