diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-08-10 09:33:44 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-28 11:00:27 -0700 |
commit | 88348effd60329836f96b672c69db60271aca60a (patch) | |
tree | 6bed7fe0f7545dc8c2e3da14da1f3fa27283d236 /drivers/regulator | |
parent | b571dc38d447fb34db39496b8a236946ff9baf34 (diff) | |
download | blackbird-op-linux-88348effd60329836f96b672c69db60271aca60a.tar.gz blackbird-op-linux-88348effd60329836f96b672c69db60271aca60a.zip |
regulator: ab3100: Remove get_voltage implementation for regulator_ops_fixed
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>
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) return abreg->plfdata->external_voltage; } -static int ab3100_get_fixed_voltage_regulator(struct regulator_dev *reg) -{ - return reg->desc->min_uV; -} - static struct regulator_ops regulator_ops_fixed = { .list_voltage = regulator_list_voltage_linear, .enable = ab3100_enable_regulator, .disable = ab3100_disable_regulator, .is_enabled = ab3100_is_enabled_regulator, - .get_voltage = ab3100_get_fixed_voltage_regulator, }; static struct regulator_ops regulator_ops_variable = { |