Lars-Peter Clausen acba41f81f staging:iio: Fix adis16240 channel offsets and scales
Most of the channel offsets and scales in the adis16240 are incorrect:
    * Temperature scale is of by a factor of 1000
    * Voltage scale is of by a factor of 1000
    * Temperature offset is completely wrong
	* Peak scale is completely wrong

This patch fixes these issues. Also use the IIO_G_TO_M_S_2 macro for the
acceleration scale since this makes it much easier to compare it to the value
given in the datasheet.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-10-19 16:23:32 +01:00
..
2012-07-06 16:08:57 -07:00
2012-10-01 12:11:39 -07:00
2012-09-21 09:17:07 -07:00
2012-10-01 12:26:52 -07:00
2012-10-01 13:23:01 -07:00
2012-10-12 10:21:02 +09:00
2012-10-01 12:11:39 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 12:26:52 -07:00
2012-10-01 13:23:01 -07:00
2012-09-16 17:17:25 -07:00
2012-09-26 09:19:50 -07:00
2012-09-16 17:17:25 -07:00
2012-07-09 11:35:00 -07:00
2012-10-01 12:26:52 -07:00
2012-10-01 12:26:52 -07:00