regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel
authorAxel Lin <axel.lin@ingics.com>
Sat, 29 Dec 2012 01:38:50 +0000 (09:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 Jan 2013 07:12:22 +0000 (16:12 +0900)
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>

No differences found