regulator: wm831x-ldo: Use regulator_map_voltage_linear for wm831x_alive_ldo_ops
authorAxel Lin <axel.lin@gmail.com>
Thu, 31 May 2012 09:39:00 +0000 (17:39 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:25:05 +0000 (13:25 +0100)
commitc2543b5f6c3e13996776079cda1007ef6e7a0bbb
tree40db154c84a33c55da25a19068e0cec597c1e425
parentf2d103add158af4c95223a1b576cc0cc6a41a18b
regulator: wm831x-ldo: Use regulator_map_voltage_linear for wm831x_alive_ldo_ops

wm831x_alive_ldo_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/wm831x-ldo.c
This page took 0.027835 seconds and 5 git commands to generate.