regulator: lp3971: Convert to use regulator_map_voltage_ascend
authorAxel Lin <axel.lin@ingics.com>
Sat, 20 Apr 2013 16:35:31 +0000 (00:35 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 10:39:27 +0000 (11:39 +0100)
commit3e655618e1316719d826eab5af3510128d45f0e6
tree874c71386f8155c8433d380e8ec1615227ac4b2b
parentfcf371ee5624cc87abac205cd0dad2432d7f0346
regulator: lp3971: 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/lp3971.c