staging:iio:adis16260: Add scale for the inclination channel
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:21 +0000 (18:41 +0100)
commitebdee941e24719b841dd5bd5df4620bdf1bcbe44
tree924d9dfe5b99e2887d12145bbe8518e1064fb55c
parent9aa5aad8724fc7dd9d57a71d8894415850ed349f
staging:iio:adis16260: Add scale for the inclination channel

While the inclination channel claims to support reading the scale the driver did
not implement this, so trying to read the scale results in a -EINVAL. This patch
fixes it.

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