regulator: wm8400: Use regulator_map_voltage_linear for wm8400_dcdc_ops
authorAxel Lin <axel.lin@gmail.com>
Thu, 31 May 2012 09:40:22 +0000 (17:40 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:25:05 +0000 (13:25 +0100)
commit27eeabb7a1000de974e45cd007b3f5324dcee490
treea4d2028aa4f082c5fd19ee78d98e280fb668fd86
parentc2543b5f6c3e13996776079cda1007ef6e7a0bbb
regulator: wm8400: Use regulator_map_voltage_linear for wm8400_dcdc_ops

wm8400_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/wm8400-regulator.c