diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-08-10 09:35:59 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-28 11:00:27 -0700 |
commit | 9c7fde4e80072fb5db4f60f1b16b8178198ba4ea (patch) | |
tree | 584a4f082ac5ed64e7cf948a1c7cb0b6783cabcb /drivers/regulator | |
parent | 0d3fb582dc6787967b13360d13d5c6136f301137 (diff) | |
download | linux-stable-9c7fde4e80072fb5db4f60f1b16b8178198ba4ea.tar.gz linux-stable-9c7fde4e80072fb5db4f60f1b16b8178198ba4ea.tar.bz2 linux-stable-9c7fde4e80072fb5db4f60f1b16b8178198ba4ea.zip |
regulator: isl6271a: Remove get_voltage implementation for isl_fixed_ops
This is not required after commit f7df20ec
"regulator: core: Use list_voltage() to read single voltage regulators"
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/isl6271a-regulator.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/regulator/isl6271a-regulator.c b/drivers/regulator/isl6271a-regulator.c index 1d145a07ada9..d8ecf49a5777 100644 --- a/drivers/regulator/isl6271a-regulator.c +++ b/drivers/regulator/isl6271a-regulator.c @@ -73,13 +73,7 @@ static struct regulator_ops isl_core_ops = { .map_voltage = regulator_map_voltage_linear, }; -static int isl6271a_get_fixed_voltage(struct regulator_dev *dev) -{ - return dev->desc->min_uV; -} - static struct regulator_ops isl_fixed_ops = { - .get_voltage = isl6271a_get_fixed_voltage, .list_voltage = regulator_list_voltage_linear, }; |