summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-08 10:04:42 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-11 12:01:40 +0800
commite4a99938706b080b562055f83bf29e28ce0770ad (patch)
tree22d67888dfc26c1ddcb724d7c09c8b9ccd83989a /drivers/regulator
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>
Diffstat (limited to 'drivers/regulator')
-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)
static struct regulator_ops isl_fixed_ops = {
.get_voltage = isl6271a_get_fixed_voltage,
.list_voltage = regulator_list_voltage_linear,
- .map_voltage = regulator_map_voltage_linear,
};
static const struct regulator_desc isl_rd[] = {