Re: [PATCH 2/4] Staging: iio: accel: adis16201: Use GENMASK

2018-03-24 Thread Jonathan Cameron
On Fri, 23 Mar 2018 00:42:43 +0530 Himanshu Jha wrote: > Use GENMASK to improve readability and remove the local variables used to > store intermediate data. > > Signed-off-by: Himanshu Jha Applied to the togreg branch of iio.git. Thanks, Jonathan > --- > drivers/staging/iio/accel/adis16201

[PATCH 2/4] Staging: iio: accel: adis16201: Use GENMASK

2018-03-22 Thread Himanshu Jha
Use GENMASK to improve readability and remove the local variables used to store intermediate data. Signed-off-by: Himanshu Jha --- drivers/staging/iio/accel/adis16201.c | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/drivers/staging/iio/ac