diff options
author | Axel Lin | 2012-03-20 03:46:35 +0100 |
---|---|---|
committer | Mark Brown | 2012-04-03 00:24:46 +0200 |
commit | 939b62d897d80be2b4632dd81a838d29e1f5f1e3 (patch) | |
tree | f64419c0e3c64139997b82bb3d02df925399b8a4 /drivers/regulator/mc13xxx.h | |
parent | regulator: fixed: Support for open drain gpio pin (diff) | |
download | kernel-qcow2-linux-939b62d897d80be2b4632dd81a838d29e1f5f1e3.tar.gz kernel-qcow2-linux-939b62d897d80be2b4632dd81a838d29e1f5f1e3.tar.xz kernel-qcow2-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.h | 2 |
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, |