diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-05-17 07:06:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-18 09:39:57 +0200 |
commit | b13296d0701b90fa8eae5cb6b79c7a2d7a75d3b2 (patch) | |
tree | ca9f027bdddd4fe3a3850aec6eb1f0747262fae8 /scripts/show_delta | |
parent | regulator: tps65217: Convert to set_voltage_sel and map_voltage (diff) | |
download | linux-b13296d0701b90fa8eae5cb6b79c7a2d7a75d3b2.tar.xz linux-b13296d0701b90fa8eae5cb6b79c7a2d7a75d3b2.zip |
regulator: ab3100: Use regulator_map_voltage_iterate()
regulator_map_voltage_iterate() is for drivers implementing set_voltage_sel()
and list_voltage() to use it as their map_voltage() operation.
In this case, regulator_map_voltage_iterate() happen to be doing the same thing
as ab3100_get_best_voltage_index() function. So we can use it to replace
ab3100_get_best_voltage_index() function.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions