]> git.neil.brown.name Git - gta04.git/commit
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)
commitf11d08c3d611d6f2845677caabe13b2c58f95658
tree1ea840b7f48236a357828282f062079dd39333cd
parentbaae019efe84b6d2c6d5e7e7e1c9cfa130ad6b2a
regulator: Use list_voltage() to get voltage in regulator_set_voltage_time_sel

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>
drivers/regulator/core.c