regulator: wm8350: Use regulator_map_voltage_linear for wm8350_dcdc_ops
authorAxel Lin <axel.lin@gmail.com>
Sun, 3 Jun 2012 15:12:16 +0000 (23:12 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 19:08:54 +0000 (20:08 +0100)
commitfcbb71f6f8084b74fef54e40c9e515105ccc4e6e
tree05097996d6f61b16c59265d9829462a9f1fe6736
parent392b309644c7223b5320b939aedf09b5a4f5a325
regulator: wm8350: Use regulator_map_voltage_linear for wm8350_dcdc_ops

wm8350_dcdc_ops uses simple linear voltage maps.
Thus use regulator_map_voltage_linear is more efficient than using the default
regulator_map_voltage_iterate.

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