diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-06-19 14:19:57 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-19 12:06:25 +0100 |
commit | 2c19ad43d1a4b0e376a0c764e3c2350afd018fac (patch) | |
tree | 9e87c6fe2fa22367d955167fa7be32593b829980 /drivers/regulator/mc13892-regulator.c | |
parent | 0e8e5c34cf1a8beaaf0a6a05c053592693bf8cb4 (diff) | |
download | blackbird-op-linux-2c19ad43d1a4b0e376a0c764e3c2350afd018fac.tar.gz blackbird-op-linux-2c19ad43d1a4b0e376a0c764e3c2350afd018fac.zip |
regulator: mc13xxx: Remove mc13xxx_sw_regulator_is_enabled function
If .is_enabled callback is not implemented, regulator core assumes that the
regulator is always on. Thus we don't need mc13xxx_sw_regulator_is_enabled
function.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/mc13892-regulator.c')
-rw-r--r-- | drivers/regulator/mc13892-regulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/mc13892-regulator.c b/drivers/regulator/mc13892-regulator.c index 6329723b5372..b388b746452e 100644 --- a/drivers/regulator/mc13892-regulator.c +++ b/drivers/regulator/mc13892-regulator.c @@ -469,7 +469,6 @@ err: } static struct regulator_ops mc13892_sw_regulator_ops = { - .is_enabled = mc13xxx_sw_regulator_is_enabled, .list_voltage = regulator_list_voltage_table, .set_voltage_sel = mc13892_sw_regulator_set_voltage_sel, .get_voltage = mc13892_sw_regulator_get_voltage, |