From: Axel Lin Date: Sat, 29 Dec 2012 01:38:50 +0000 (+0800) Subject: regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel X-Git-Tag: v3.9-rc1~154^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=854f73ecb5c207007f9e850abd6f82ab89eaefb7;p=pandora-kernel.git regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel It looks pointless to pass max_vol to s5m8767_convert_voltage_to_sel(). Compare selected voltage to desc->max is enough to ensure selected voltage is in supported range. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed