aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-07 22:04:42 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-11 00:01:40 -0400
commite4a99938706b080b562055f83bf29e28ce0770ad (patch)
tree22d67888dfc26c1ddcb724d7c09c8b9ccd83989a
parent9b558950bb652a85861fef28172e134c367dab1a (diff)
regulator: isl6271a: Remove setting map_voltage callback for isl_fixed_ops
isl_fixed_ops does not implement set_voltage_sel callback, adding map_voltage here is misleading. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/regulator/isl6271a-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/isl6271a-regulator.c b/drivers/regulator/isl6271a-regulator.c
index 4a11b82a6d57..1d145a07ada9 100644
--- a/drivers/regulator/isl6271a-regulator.c
+++ b/drivers/regulator/isl6271a-regulator.c
@@ -81,7 +81,6 @@ static int isl6271a_get_fixed_voltage(struct regulator_dev *dev)
81static struct regulator_ops isl_fixed_ops = { 81static struct regulator_ops isl_fixed_ops = {
82 .get_voltage = isl6271a_get_fixed_voltage, 82 .get_voltage = isl6271a_get_fixed_voltage,
83 .list_voltage = regulator_list_voltage_linear, 83 .list_voltage = regulator_list_voltage_linear,
84 .map_voltage = regulator_map_voltage_linear,
85}; 84};
86 85
87static const struct regulator_desc isl_rd[] = { 86static const struct regulator_desc isl_rd[] = {