regulator: Convert ab8499 to use get_voltage_sel()
authorAxel Lin <axel.lin@gmail.com>
Fri, 24 Feb 2012 09:15:45 +0000 (17:15 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:43 +0000 (20:48 +0000)
commit3bf6e90e476fb34ca47b6dda270f41d9cebcb1ac
tree0f54f8d5eb262a723202a8d9f710997961241dea
parentdfb9b8a4f3ed7b85c9d65cb0e47ec07543ce317d
regulator: Convert ab8499 to use get_voltage_sel()

This change is required to make ab8500_regulator_get_voltage_sel work.
The regulator core will call set_voltage_time_sel only when get_voltage_sel is
implemented.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c