summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mc13xxx-regulator-core.c
diff options
context:
space:
mode:
authorAxel Lin2012-06-19 08:19:57 +0200
committerMark Brown2012-06-19 13:06:25 +0200
commit2c19ad43d1a4b0e376a0c764e3c2350afd018fac (patch)
tree9e87c6fe2fa22367d955167fa7be32593b829980 /drivers/regulator/mc13xxx-regulator-core.c
parentregulator: twl: Remove references to 32kHz clock from DT bindings (diff)
downloadkernel-qcow2-linux-2c19ad43d1a4b0e376a0c764e3c2350afd018fac.tar.gz
kernel-qcow2-linux-2c19ad43d1a4b0e376a0c764e3c2350afd018fac.tar.xz
kernel-qcow2-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/mc13xxx-regulator-core.c')
-rw-r--r--drivers/regulator/mc13xxx-regulator-core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/regulator/mc13xxx-regulator-core.c b/drivers/regulator/mc13xxx-regulator-core.c
index 8a6b050ff5aa..d6eda28ca5d0 100644
--- a/drivers/regulator/mc13xxx-regulator-core.c
+++ b/drivers/regulator/mc13xxx-regulator-core.c
@@ -170,12 +170,6 @@ struct regulator_ops mc13xxx_fixed_regulator_ops = {
};
EXPORT_SYMBOL_GPL(mc13xxx_fixed_regulator_ops);
-int mc13xxx_sw_regulator_is_enabled(struct regulator_dev *rdev)
-{
- return 1;
-}
-EXPORT_SYMBOL_GPL(mc13xxx_sw_regulator_is_enabled);
-
#ifdef CONFIG_OF
int __devinit mc13xxx_get_num_regulators_dt(struct platform_device *pdev)
{