aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/mc13xxx.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-20 10:46:35 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-02 23:24:46 +0100
commit939b62d897d80be2b4632dd81a838d29e1f5f1e3 (patch)
treef64419c0e3c64139997b82bb3d02df925399b8a4 /drivers/regulator/mc13xxx.h
parenta4d9f179cc788b7f4b735d32c2e4a3b2562e8240 (diff)
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 b3961c658b0..044aba4d28e 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,