staging:iio:ad7291: Use sign_extend32 instead of open-coding it
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 14 Jun 2013 15:58:00 +0000 (16:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 14 Jun 2013 20:54:09 +0000 (21:54 +0100)
commit88198d2b4238b8f711918abe5e2b9bd7efc7c775
tree76855324db2dcc0649d3f612d8c1d79b66dcfe05
parent7bd49fe120622b130ca0c4675a17a53e12aba99c
staging:iio:ad7291: Use sign_extend32 instead of open-coding it

This makes it a bit more obvious what is going on than open-coding it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7291.c