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

regulator: tps6507x: Use regulator_map_voltage_ascend

All regulators have ascendant voltage list in this driver.
Use regulator_map_voltage_ascend for them.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

authored by

Axel Lin and committed by
Mark Brown
a1bb63a8 4d673bbc

+1
+1
drivers/regulator/tps6507x-regulator.c
··· 356 356 .get_voltage_sel = tps6507x_pmic_get_voltage_sel, 357 357 .set_voltage_sel = tps6507x_pmic_set_voltage_sel, 358 358 .list_voltage = regulator_list_voltage_table, 359 + .map_voltage = regulator_map_voltage_ascend, 359 360 }; 360 361 361 362 #ifdef CONFIG_OF