Staging: iio: adis16209: Use GENMASK
authorShreeya Patel <shreeya.patel23498@gmail.com>
Thu, 29 Mar 2018 09:21:19 +0000 (14:51 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 30 Mar 2018 12:50:35 +0000 (13:50 +0100)
commitabb07089b53862ce5de5316590eb3cf2afa7518e
tree52d555d3ec7b8ccc4fceedd26de5a3322066af2a
parent11b2ffbbc3d4d73ef33f479d1b5b3d1d51485d85
Staging: iio: adis16209: Use GENMASK

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

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/accel/adis16209.c