diff options
-rw-r--r-- | drivers/regulator/ab8500.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 8807166eab7f..c884a5c4b473 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c | |||
@@ -257,16 +257,10 @@ static struct regulator_ops ab8500_regulator_ops = { | |||
257 | .set_voltage_time_sel = ab8500_regulator_set_voltage_time_sel, | 257 | .set_voltage_time_sel = ab8500_regulator_set_voltage_time_sel, |
258 | }; | 258 | }; |
259 | 259 | ||
260 | static int ab8500_fixed_get_voltage(struct regulator_dev *rdev) | ||
261 | { | ||
262 | return rdev->desc->min_uV; | ||
263 | } | ||
264 | |||
265 | static struct regulator_ops ab8500_regulator_fixed_ops = { | 260 | static struct regulator_ops ab8500_regulator_fixed_ops = { |
266 | .enable = ab8500_regulator_enable, | 261 | .enable = ab8500_regulator_enable, |
267 | .disable = ab8500_regulator_disable, | 262 | .disable = ab8500_regulator_disable, |
268 | .is_enabled = ab8500_regulator_is_enabled, | 263 | .is_enabled = ab8500_regulator_is_enabled, |
269 | .get_voltage = ab8500_fixed_get_voltage, | ||
270 | .list_voltage = regulator_list_voltage_linear, | 264 | .list_voltage = regulator_list_voltage_linear, |
271 | }; | 265 | }; |
272 | 266 | ||