summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/PHSDefines.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-10-15 09:35:00 (GMT)
committerJonathan Cameron <jic23@kernel.org>2012-10-19 15:23:32 (GMT)
commitacba41f81f4380ad24905df4c3c0ad7f272b338f (patch)
tree49ada0eecf9d38e7945e81bcac8d60d10075ccf0 /drivers/staging/bcm/PHSDefines.h
parent45240340568a799fa140645af2a45600dfe68694 (diff)
downloadlinux-fsl-qoriq-acba41f81f4380ad24905df4c3c0ad7f272b338f.tar.xz
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>
Diffstat (limited to 'drivers/staging/bcm/PHSDefines.h')
0 files changed, 0 insertions, 0 deletions