regulator: Rename s5m8767_convert_voltage to s5m8767_convert_voltage_to_sel
authorAxel Lin <axel.lin@gmail.com>
Fri, 9 Mar 2012 03:31:08 +0000 (11:31 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:49:35 +0000 (20:49 +0000)
This function finds the smallest voltage that falls within the specified range,
and then returns the selector. This rename makes the intention more clear.

Also remove unneeded local variables min_vol and max_vol in s5m8767_set_voltage
and s5m8767_set_voltage_buck.

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

No differences found