regulator: Use list_voltage() to get voltage in regulator_set_voltage_time_sel
authorAxel Lin <axel.lin@gmail.com>
Tue, 19 Jun 2012 01:38:45 +0000 (09:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 23 Jun 2012 11:28:12 +0000 (12:28 +0100)
With this change, regulator_set_voltage_time_sel() can be more generic and not
limited to linear and table based mapping now.
One side-effect of this change is that list_voltage() must be implemented.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found