Re: [PATCH] regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel

2013-01-16 Thread Mark Brown
On Sat, Dec 29, 2012 at 09:38:50AM +0800, Axel Lin wrote: > 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. Applied, thanks. -- To unsubscribe from this list: send the

Re: [PATCH] regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel

2013-01-16 Thread Mark Brown
On Sat, Dec 29, 2012 at 09:38:50AM +0800, Axel Lin wrote: 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. Applied, thanks. -- To unsubscribe from this list: send the line

Re: [PATCH] regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel

2013-01-08 Thread Mark Brown
On Sat, Dec 29, 2012 at 09:38:50AM +0800, Axel Lin wrote: > 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. This doesn't apply against -rc2, can you please regenerate?

Re: [PATCH] regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel

2013-01-08 Thread Mark Brown
On Sat, Dec 29, 2012 at 09:38:50AM +0800, Axel Lin wrote: 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. This doesn't apply against -rc2, can you please regenerate?

[PATCH] regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel

2012-12-28 Thread Axel Lin
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 --- drivers/regulator/s5m8767.c | 33 ++--- 1 file changed, 10

[PATCH] regulator: s5m8767: Remove max_vol parameter from s5m8767_convert_voltage_to_sel

2012-12-28 Thread Axel Lin
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@ingics.com --- drivers/regulator/s5m8767.c | 33 ++--- 1 file