staging:iio:adis16400: Report correct temperature scale and offset
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 15 Oct 2012 09:35:00 +0000 (10:35 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 19 Oct 2012 15:23:34 +0000 (16:23 +0100)
commit760ebc0d2af519dde91e39d22927d2be1bc57190
tree1986bf56aa01a014127dded6b22666b1c8aceb56
parent1cf8c97f94a07e6d6461ae81b62abc2134b52c24
staging:iio:adis16400: Report correct temperature scale and offset

Temperature scale and offset differ between the different devices supported by
this driver. Right now the driver always reports the temperature scale and
offset of the adis16400 regardless of which chip variant is used. This patch
adds two new attributes to the chip_info struct, one for the temperature scale
and one for the temperature offset.

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