Re: [PATCH 05/11] staging: iio: tsl2x7x: split out als and prox interrupt settings

2018-03-24 Thread Jonathan Cameron
On Wed, 21 Mar 2018 06:29:06 -0400 Brian Masney wrote: > The struct tsl2x7x_settings contained an interrupts_en member that was > a bitmask for which interrupts are enabled. This required having > bitmasks in several parts of the code. This patch splits this field > out into two booleans to remov

[PATCH 05/11] staging: iio: tsl2x7x: split out als and prox interrupt settings

2018-03-21 Thread Brian Masney
The struct tsl2x7x_settings contained an interrupts_en member that was a bitmask for which interrupts are enabled. This required having bitmasks in several parts of the code. This patch splits this field out into two booleans to remove most of the bitmasks in the code. This patch also fixes a bug