Re: [PATCH 02/12] staging: iio: tsl2x7x: add common function for clearing interrupts

2018-03-10 Thread Jonathan Cameron
On Sat, 3 Mar 2018 20:49:32 -0500 Brian Masney wrote: > There were three places where the same chunk of code was used to clear > interrupts. This patch creates a common function > tsl2x7x_clear_interrupts() to reduce duplicate code. > > Signed-off-by: Brian Masney

Re: [PATCH 02/12] staging: iio: tsl2x7x: add common function for clearing interrupts

2018-03-10 Thread Jonathan Cameron
On Sat, 3 Mar 2018 20:49:32 -0500 Brian Masney wrote: > There were three places where the same chunk of code was used to clear > interrupts. This patch creates a common function > tsl2x7x_clear_interrupts() to reduce duplicate code. > > Signed-off-by: Brian Masney Hmm. This one wasn't

[PATCH 02/12] staging: iio: tsl2x7x: add common function for clearing interrupts

2018-03-03 Thread Brian Masney
There were three places where the same chunk of code was used to clear interrupts. This patch creates a common function tsl2x7x_clear_interrupts() to reduce duplicate code. Signed-off-by: Brian Masney --- drivers/staging/iio/light/tsl2x7x.c | 52

[PATCH 02/12] staging: iio: tsl2x7x: add common function for clearing interrupts

2018-03-03 Thread Brian Masney
There were three places where the same chunk of code was used to clear interrupts. This patch creates a common function tsl2x7x_clear_interrupts() to reduce duplicate code. Signed-off-by: Brian Masney --- drivers/staging/iio/light/tsl2x7x.c | 52 + 1 file