Re: [PATCH 3/6] iio: gyro: bmg160: use available_scan_masks

2016-03-28 Thread Jonathan Cameron
On 24/03/16 09:29, Irina Tirdea wrote: > Use available_scan_masks to allow the iio core to select > the data to send to userspace depending on which axes are > enabled, instead of doing this in the driver's interrupt > handler. > > Signed-off-by: Irina Tirdea Applied, Thanks, > --- > drivers/ii

[PATCH 3/6] iio: gyro: bmg160: use available_scan_masks

2016-03-24 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Irina Tirdea --- drivers/iio/gyro/bmg160_core.c | 9 +++-- 1 file changed, 7 insertions(+), 2 de