regulator: isl6271a: Remove setting map_voltage callback for isl_fixed_ops
authorAxel Lin <axel.lin@gmail.com>
Fri, 8 Jun 2012 02:04:42 +0000 (10:04 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Jun 2012 04:01:40 +0000 (12:01 +0800)
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>
drivers/regulator/isl6271a-regulator.c

index 4a11b82a6d573d61f5ca1e45c88bbb3634e487c1..1d145a07ada940d0308e1197eb4a961a9e988b9a 100644 (file)
@@ -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[] = {