summaryrefslogtreecommitdiff
path: root/drivers/regulator/tps6586x-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-04-20 10:30:17 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-23 11:41:06 +0100
commit9fa8175f0f6ebe1ac1495a3d4fa61cc31e0843c0 (patch)
treee8c6cfeef7b0d1cc36e4767f1e9c154bec0877cb /drivers/regulator/tps6586x-regulator.c
parentb50003b69dbb60097cf55c44f8e2b4dc25bd0b12 (diff)
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/tps6586x-regulator.c')
0 files changed, 0 insertions, 0 deletions