staging:iio:adis16260: Fix reading calibscale
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 17 Jul 2013 14:44:00 +0000 (15:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:41:19 +0000 (18:41 +0100)
commitf15304143e4aa3ddd23a96bc0d119a83a566cc0f
tree196ba581159cf1dd038e40cca435bc2c08b9d64b
parentd9a0134e7aa048f3de4477d93598974ea8ecae7a
staging:iio:adis16260: Fix reading calibscale

Return the actual value read from the device and not just the mask.

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