regulator: aat2870: Use regulator_map_voltage_ascend
authorAxel Lin <axel.lin@ingics.com>
Mon, 24 Mar 2014 12:45:38 +0000 (20:45 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 26 Mar 2014 16:52:39 +0000 (16:52 +0000)
commit08d6da291435f5de0f0fa283994a74f67d9ab23a
tree01155357f7e9ae00e11fb144f93ce68016b969ab
parent38dbfb59d1175ef458d006556061adeaa8751b72
regulator: aat2870: Use regulator_map_voltage_ascend

The voltages in aat2870_ldo_voltages table are in ascendant order, so use
regulator_map_voltage_ascend.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/aat2870-regulator.c