]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0252759844c44d392ba3f2b1675c6a98232594ca
treed69018fbe0426216344e28f37987f3bae417656a
parent48e978be9d335da422d13df7c405a32155d9a869
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