diff options
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/ab3100.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index c151fd5d8c97..65ad2b36ce36 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c | |||
@@ -347,17 +347,11 @@ static int ab3100_get_voltage_regulator_external(struct regulator_dev *reg) | |||
347 | return abreg->plfdata->external_voltage; | 347 | return abreg->plfdata->external_voltage; |
348 | } | 348 | } |
349 | 349 | ||
350 | static int ab3100_get_fixed_voltage_regulator(struct regulator_dev *reg) | ||
351 | { | ||
352 | return reg->desc->min_uV; | ||
353 | } | ||
354 | |||
355 | static struct regulator_ops regulator_ops_fixed = { | 350 | static struct regulator_ops regulator_ops_fixed = { |
356 | .list_voltage = regulator_list_voltage_linear, | 351 | .list_voltage = regulator_list_voltage_linear, |
357 | .enable = ab3100_enable_regulator, | 352 | .enable = ab3100_enable_regulator, |
358 | .disable = ab3100_disable_regulator, | 353 | .disable = ab3100_disable_regulator, |
359 | .is_enabled = ab3100_is_enabled_regulator, | 354 | .is_enabled = ab3100_is_enabled_regulator, |
360 | .get_voltage = ab3100_get_fixed_voltage_regulator, | ||
361 | }; | 355 | }; |
362 | 356 | ||
363 | static struct regulator_ops regulator_ops_variable = { | 357 | static struct regulator_ops regulator_ops_variable = { |