regulator: lp3972: Convert to use regulator_map_voltage_ascend
authorAxel Lin <axel.lin@ingics.com>
Sat, 20 Apr 2013 16:36:56 +0000 (00:36 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 10:39:33 +0000 (11:39 +0100)
commitb50003b69dbb60097cf55c44f8e2b4dc25bd0b12
treed69018fbe0426216344e28f37987f3bae417656a
parent3e655618e1316719d826eab5af3510128d45f0e6
regulator: lp3972: Convert to use regulator_map_voltage_ascend

All regulators have ascendant voltage list in this driver.
Thus use regulator_map_voltage_ascend is more efficient than the default
regulator_map_voltage_iterate.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/lp3972.c