iio: chemical: bme680: use GENMASK macro
authorDavid Frey <dpfrey@gmail.com>
Fri, 17 Aug 2018 19:03:17 +0000 (12:03 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Aug 2018 16:06:53 +0000 (17:06 +0100)
commit8d3032c3692d247ad625863e949d419952db8cbd
tree74f15a02e615aa0e3a60f26c000eb24fd2a240b7
parenta24b4d70c7b2f4b4fed807b9283ba7ae8b114e2f
iio: chemical: bme680: use GENMASK macro

Replace hardcoded bit masks with GENMASK macro

Signed-off-by: David Frey <dpfrey@gmail.com>
Reviewed-by: Himanshu Jha <himanshujha199640@gmail.com>
Tested-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/bme680.h