commit | 854f73ecb5c207007f9e850abd6f82ab89eaefb7 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Dec 29 09:38:50 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu Jan 17 16:12:22 2013 +0900 |
tree | df6f7660c7e3a50021127fe9e7fff5549d9da86d | |
parent | 3051019409d99084f3b8f090b75d969adcc882e7 [diff] |
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 <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>