regulator: Convert pcf50633 to get_voltage_sel
authorAxel Lin <axel.lin@gmail.com>
Mon, 19 Mar 2012 02:57:06 +0000 (10:57 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:23 +0000 (11:59 +0100)
commit8300d2fde4622ae9ac5d09054dddddddc53b27e7
tree40fffa13cc427a2d78b0decf4ed77fc92200956a
parent022dcdf083d67db34f5237369d3501ca5708d8eb
regulator: Convert pcf50633 to get_voltage_sel

Convert pcf50633 to get_voltage_sel and then we can remove
pcf50633_regulator_voltage_value function and move its implementation
to pcf50633_regulator_list_voltage.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/pcf50633-regulator.c