regulator: isl6271a: Remove get_voltage implementation for isl_fixed_ops
authorAxel Lin <axel.lin@gmail.com>
Fri, 10 Aug 2012 01:35:59 +0000 (09:35 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Aug 2012 18:00:27 +0000 (11:00 -0700)
This is not required after commit f7df20ec
"regulator: core: Use list_voltage() to read single voltage regulators"

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/isl6271a-regulator.c

index 1d145a07ada940d0308e1197eb4a961a9e988b9a..d8ecf49a5777e383876aae1f5894adc43d0bf741 100644 (file)
@@ -73,13 +73,7 @@ static struct regulator_ops isl_core_ops = {
        .map_voltage    = regulator_map_voltage_linear,
 };
 
-static int isl6271a_get_fixed_voltage(struct regulator_dev *dev)
-{
-       return dev->desc->min_uV;
-}
-
 static struct regulator_ops isl_fixed_ops = {
-       .get_voltage    = isl6271a_get_fixed_voltage,
        .list_voltage   = regulator_list_voltage_linear,
 };