Staging: iio: accel: adis16201: Use GENMASK
authorHimanshu Jha <himanshujha199640@gmail.com>
Thu, 22 Mar 2018 19:12:43 +0000 (00:42 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 24 Mar 2018 14:20:13 +0000 (14:20 +0000)
commit15e374daf9037240e2882f54c7b729327b574e30
tree5522dd81297c55e5d9dce265ef597d4e3f2fdbea
parentd8a6fc1813789afdc99e0c993b18ecf216ff408e
Staging: iio: accel: adis16201: Use GENMASK

Use GENMASK to improve readability and remove the local variables used to
store intermediate data.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/accel/adis16201.c