1 From: Axel Lin <axel.lin@ingics.com>
2 Subject: [PATCH] regulator: pfuze100: Use regulator_map_voltage_ascend
4 All table based voltage list have ascendant order.
5 Use regulator_map_voltage_ascend for them.
7 Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 Signed-off-by: Mark Brown <broonie@linaro.org>
10 drivers/regulator/pfuze100-regulator.c | 1 +
11 1 file changed, 1 insertion(+)
13 --- a/drivers/regulator/pfuze100-regulator.c
14 +++ b/drivers/regulator/pfuze100-regulator.c
15 @@ -144,6 +144,7 @@ static struct regulator_ops pfuze100_sw_
17 static struct regulator_ops pfuze100_swb_regulator_ops = {
18 .list_voltage = regulator_list_voltage_table,
19 + .map_voltage = regulator_map_voltage_ascend,
20 .set_voltage_sel = regulator_set_voltage_sel_regmap,
21 .get_voltage_sel = regulator_get_voltage_sel_regmap,