From: Axel Lin Date: Sun, 7 Apr 2013 15:17:50 +0000 (+0800) Subject: regulator: ab8500-ext: Remove get_voltage to avoid duplicate implementation X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~25^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e343ab08bddeb0ed83f0a85f06739569d3081e3a;p=pandora-kernel.git 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 Acked-by: Lee Jones Signed-off-by: Mark Brown --- Reading git-diff-tree failed