diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-20 06:30:17 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-23 14:41:06 +0400 |
commit | 9fa8175f0f6ebe1ac1495a3d4fa61cc31e0843c0 (patch) | |
tree | e8c6cfeef7b0d1cc36e4767f1e9c154bec0877cb /drivers/regulator/lp3972.c | |
parent | b50003b69dbb60097cf55c44f8e2b4dc25bd0b12 (diff) | |
download | linux-9fa8175f0f6ebe1ac1495a3d4fa61cc31e0843c0.tar.xz |
regulator: tps65910: Convert to use regulator_map_voltage_ascend
All regulators have ascendant voltage list in this driver.
Some regulators have more than 200 supported voltages.
e.g.
For TPS65910_REG_VDD1 and TPS65910_REG_VDD2:
n_voltages = VDD1_2_NUM_VOLT_FINE * VDD1_2_NUM_VOLT_COARSE
= 73 * 3
= 219
Thus it worth converting to regulator_map_voltage_ascend rather than use
default regulator_map_voltage_iterate.
For consistent, convert all regulators to regulator_map_voltage_ascend.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/lp3972.c')
0 files changed, 0 insertions, 0 deletions