Staging: iio: adis16209: Use sign_extend32 function
authorShreeya Patel <shreeya.patel23498@gmail.com>
Sun, 4 Mar 2018 12:45:06 +0000 (18:15 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 7 Mar 2018 21:08:03 +0000 (21:08 +0000)
commit9dd6ec17a8b06a75558b00c50676f847f7fa6513
treec6779572622eb92177d0196e41edc84fcb50f410
parent0df8baeab1ee2a5ccd3c725a44a431fcc63fe416
Staging: iio: adis16209: Use sign_extend32 function

Use sign_extend32 function instead of manually coding
it.

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