summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mc13xxx.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-20 03:46:35 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-03 00:24:46 +0200
commit939b62d897d80be2b4632dd81a838d29e1f5f1e3 (patch)
treef64419c0e3c64139997b82bb3d02df925399b8a4 /drivers/regulator/mc13xxx.h
parentregulator: fixed: Support for open drain gpio pin (diff)
downloadlinux-939b62d897d80be2b4632dd81a838d29e1f5f1e3.tar.xz
linux-939b62d897d80be2b4632dd81a838d29e1f5f1e3.zip
regulator: Convert mc13xxx regulator drivers to set_voltage_sel
Convert mc13892_sw_regulator_ops and mc13xxx_regulator_ops to set_voltage_sel. mc13xxx_get_best_voltage_index function is not used now, remove it. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/mc13xxx.h')
-rw-r--r--drivers/regulator/mc13xxx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/mc13xxx.h b/drivers/regulator/mc13xxx.h
index b3961c658b05..044aba4d28ec 100644
--- a/drivers/regulator/mc13xxx.h
+++ b/drivers/regulator/mc13xxx.h
@@ -35,8 +35,6 @@ struct mc13xxx_regulator_priv {
extern int mc13xxx_sw_regulator(struct regulator_dev *rdev);
extern int mc13xxx_sw_regulator_is_enabled(struct regulator_dev *rdev);
-extern int mc13xxx_get_best_voltage_index(struct regulator_dev *rdev,
- int min_uV, int max_uV);
extern int mc13xxx_regulator_list_voltage(struct regulator_dev *rdev,
unsigned selector);
extern int mc13xxx_fixed_regulator_set_voltage(struct regulator_dev *rdev,