diff options
author | Karim Eshapa <karim.eshapa@gmail.com> | 2018-06-18 20:44:50 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-06-24 16:45:06 +0300 |
commit | 5f1d651fbfa7d9de678c58329c645727261e5cb8 (patch) | |
tree | a020ffaa5e72d0b9e25e93023d01a1fdf0b79045 /drivers/iio/adc | |
parent | 5126aec542fecf68dac877ea9da47d3777edcbfb (diff) | |
download | linux-5f1d651fbfa7d9de678c58329c645727261e5cb8.tar.xz |
staging:iio:accel:adis16240: sign extend function replace hard code duplication
Use sign_extend32 kernel function instead of code duplication,
Safe also for 16 bit. and remove declaration of bits variable not needed.
Signed-off-by: Karim Eshapa <karim.eshapa@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions