From: Axel Lin Date: Fri, 9 Mar 2012 03:31:08 +0000 (+0800) Subject: regulator: Rename s5m8767_convert_voltage to s5m8767_convert_voltage_to_sel X-Git-Tag: v3.4-rc1~168^2~4^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b5e977ce71cab973d9f8c7d5303832a2bafa92c;p=pandora-kernel.git regulator: Rename s5m8767_convert_voltage to s5m8767_convert_voltage_to_sel This function finds the smallest voltage that falls within the specified range, and then returns the selector. This rename makes the intention more clear. Also remove unneeded local variables min_vol and max_vol in s5m8767_set_voltage and s5m8767_set_voltage_buck. Signed-off-by: Axel Lin Acked-by: Sangbeom Kim Signed-off-by: Mark Brown --- Reading git-diff-tree failed