regulator: twl: add twl6030 set_mode
authorSaquib Herman <saquib@ti.com>
Fri, 1 Apr 2011 04:52:46 +0000 (10:22 +0530)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:34:36 +0000 (10:34 +0100)
commit1a39962fc4d1fccdf45fef2656b37acbae5fa793
tree969bf649d7eb2db1db20038002e935e5570ff9a6
parent9a0244ad719258b0ae6064ad7da937cddcb109e0
regulator: twl: add twl6030 set_mode

Current set_mode logic does not support 6030. The logic for 4030 is
not reusable for 6030 as the mode setting for 6030 now uses the new
CFG_STATE register. We hence rename the old get_status as being
specific to 4030.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Saquib Herman <saquib@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@vega.(none)>
drivers/regulator/twl-regulator.c