diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-08-09 21:35:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-28 14:00:27 -0400 |
commit | 9c7fde4e80072fb5db4f60f1b16b8178198ba4ea (patch) | |
tree | 584a4f082ac5ed64e7cf948a1c7cb0b6783cabcb /drivers | |
parent | 0d3fb582dc6787967b13360d13d5c6136f301137 (diff) |
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')
-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 = { | |||
73 | .map_voltage = regulator_map_voltage_linear, | 73 | .map_voltage = regulator_map_voltage_linear, |
74 | }; | 74 | }; |
75 | 75 | ||
76 | static int isl6271a_get_fixed_voltage(struct regulator_dev *dev) | ||
77 | { | ||
78 | return dev->desc->min_uV; | ||
79 | } | ||
80 | |||
81 | static struct regulator_ops isl_fixed_ops = { | 76 | static struct regulator_ops isl_fixed_ops = { |
82 | .get_voltage = isl6271a_get_fixed_voltage, | ||
83 | .list_voltage = regulator_list_voltage_linear, | 77 | .list_voltage = regulator_list_voltage_linear, |
84 | }; | 78 | }; |
85 | 79 | ||