aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/wm8350-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-03 11:12:16 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-03 15:08:54 -0400
commitfcbb71f6f8084b74fef54e40c9e515105ccc4e6e (patch)
tree05097996d6f61b16c59265d9829462a9f1fe6736 /drivers/regulator/wm8350-regulator.c
parent392b309644c7223b5320b939aedf09b5a4f5a325 (diff)
regulator: wm8350: Use regulator_map_voltage_linear for wm8350_dcdc_ops
wm8350_dcdc_ops uses simple linear voltage maps. Thus use regulator_map_voltage_linear is more efficient than using the default regulator_map_voltage_iterate. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/wm8350-regulator.c')
-rw-r--r--drivers/regulator/wm8350-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/wm8350-regulator.c b/drivers/regulator/wm8350-regulator.c
index a618284fc45e..33c37f9c0e41 100644
--- a/drivers/regulator/wm8350-regulator.c
+++ b/drivers/regulator/wm8350-regulator.c
@@ -1036,6 +1036,7 @@ static struct regulator_ops wm8350_dcdc_ops = {
1036 .set_voltage_sel = regulator_set_voltage_sel_regmap, 1036 .set_voltage_sel = regulator_set_voltage_sel_regmap,
1037 .get_voltage_sel = regulator_get_voltage_sel_regmap, 1037 .get_voltage_sel = regulator_get_voltage_sel_regmap,
1038 .list_voltage = regulator_list_voltage_linear, 1038 .list_voltage = regulator_list_voltage_linear,
1039 .map_voltage = regulator_map_voltage_linear,
1039 .enable = regulator_enable_regmap, 1040 .enable = regulator_enable_regmap,
1040 .disable = regulator_disable_regmap, 1041 .disable = regulator_disable_regmap,
1041 .is_enabled = regulator_is_enabled_regmap, 1042 .is_enabled = regulator_is_enabled_regmap,