Skip to content
Snippets Groups Projects
Commit c660abab authored by Karim Eshapa's avatar Karim Eshapa Committed by Jonathan Cameron
Browse files

staging:iio:accel:adis16203: sign extend function rather code duplication


Use sign_extend32 kernel function instead of code duplication.
This function is also safe for 16 bits.

Signed-off-by: default avatarKarim Eshapa <karim.eshapa@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 727198f9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment