]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: twl6030: do not write to _GRP for regulator disable
authorBalaji T K <balajitk@ti.com>
Fri, 20 May 2011 13:33:52 +0000 (19:03 +0530)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:49:29 +0000 (10:49 +0100)
commit93b8e4e56cdbbe65703e3447b0d887ed300f3f2c
tree78b347c8482bb0a1e4998a4333bbf0f70631cb9c
parentdb1f7a9cad92ecf40a755c76a38e781aa6d5e3f5
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