regulator: ab8500-ext: Remove get_voltage to avoid duplicate implementation
authorAxel Lin <axel.lin@ingics.com>
Sun, 7 Apr 2013 15:17:50 +0000 (23:17 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Apr 2013 10:23:56 +0000 (11:23 +0100)
commite343ab08bddeb0ed83f0a85f06739569d3081e3a
treed867e48a22322d14359b79b1c07f290a07014968
parentbcbba9de0f66d30621a489dc8af07350f8d477fd
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>
drivers/regulator/ab8500-ext.c