Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: axp20x: Use regulator_map_voltage_ascend for LDO4

The voltages in axp20x_ldo4_data 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>

authored by

Axel Lin and committed by
Mark Brown
b8870356 a6016c52

+1
+1
drivers/regulator/axp20x-regulator.c
··· 111 111 .set_voltage_sel = regulator_set_voltage_sel_regmap, 112 112 .get_voltage_sel = regulator_get_voltage_sel_regmap, 113 113 .list_voltage = regulator_list_voltage_table, 114 + .map_voltage = regulator_map_voltage_ascend, 114 115 .enable = regulator_enable_regmap, 115 116 .disable = regulator_disable_regmap, 116 117 .is_enabled = regulator_is_enabled_regmap,