imx6: update 3.10 patches
[openwrt.git] / target / linux / imx6 / patches-3.10 / 0025-regulator-pfuze100-Use-regulator_map_voltage_ascend.patch
1 From: Axel Lin <axel.lin@ingics.com>
2 Subject: [PATCH] regulator: pfuze100: Use regulator_map_voltage_ascend
3
4 All table based voltage list have ascendant order.
5 Use regulator_map_voltage_ascend for them.
6
7 Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 Signed-off-by: Mark Brown <broonie@linaro.org>
9 ---
10  drivers/regulator/pfuze100-regulator.c | 1 +
11  1 file changed, 1 insertion(+)
12
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_
16  
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,
22