Staging: iio: accel: adis16201: Use sign_extend32 function
authorHimanshu Jha <himanshujha199640@gmail.com>
Fri, 16 Mar 2018 20:06:23 +0000 (01:36 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 18 Mar 2018 08:33:00 +0000 (08:33 +0000)
commite7f3bfb7eb7d9307c0c157f82fceb228f0aec1d9
treee6c091b450d681de0f588ebd906f1c5c9143f135
parent57f9386405a2ec7617d4d3b4cd1dc6c7fe299565
Staging: iio: accel: adis16201: Use sign_extend32 function

Use sign_extned32() for 32 bit sign extending rather than hard coding.

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