summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ab8500.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-04-07 23:17:50 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-08 11:23:56 +0100
commite343ab08bddeb0ed83f0a85f06739569d3081e3a (patch)
treed867e48a22322d14359b79b1c07f290a07014968 /drivers/regulator/ab8500.c
parentbcbba9de0f66d30621a489dc8af07350f8d477fd (diff)
regulator: ab8500-ext: Remove get_voltage to avoid duplicate implementation
The implementation of ab8500_ext_fixed_get_voltage is identical to ab8500_ext_list_voltage. We can avoid the duplicate implementation by just remove get_voltage. For fixed regulator, regulator core will call list_voltage(rdev, 0) to get voltage if both get_voltage get_voltage_sel are not implemented. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ab8500.c')
0 files changed, 0 insertions, 0 deletions