Re: [PATCH v3 2/9] staging: iio: tsl2x7x: use direct returns

2018-05-12 Thread Jonathan Cameron
On Thu, 10 May 2018 20:12:16 -0400 Brian Masney wrote: > This patch changes the functions tsl2x7x_read_event_value() and > tsl2x7x_read_raw() to use direct returns to simplify the code. > > Signed-off-by: Brian Masney Applied, thanks Jonathan >

[PATCH v3 2/9] staging: iio: tsl2x7x: use direct returns

2018-05-10 Thread Brian Masney
This patch changes the functions tsl2x7x_read_event_value() and tsl2x7x_read_raw() to use direct returns to simplify the code. Signed-off-by: Brian Masney --- drivers/staging/iio/light/tsl2x7x.c | 49 - 1 file changed, 16 insertions(+),