regulator: tps6507x: Use regulator_map_voltage_ascend
[firefly-linux-kernel-4.4.55.git] / drivers / regulator / tps6507x-regulator.c
index 54aa2da7283bd6c0e898a5f90b67310877009a9a..4117ff52dba185909cc3db4e3df9329d4ecadaa8 100644 (file)
@@ -356,6 +356,7 @@ static struct regulator_ops tps6507x_pmic_ops = {
        .get_voltage_sel = tps6507x_pmic_get_voltage_sel,
        .set_voltage_sel = tps6507x_pmic_set_voltage_sel,
        .list_voltage = regulator_list_voltage_table,
+       .map_voltage = regulator_map_voltage_ascend,
 };
 
 #ifdef CONFIG_OF