staging:iio:adis16400: Fix ADIS16334 temperature address
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Jun 2012 16:11:51 +0000 (18:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Jun 2012 21:36:25 +0000 (14:36 -0700)
commitbb7cf8bc52ff388c89f5984e428e966e326315ad
treeaf879db0bbaf394f6f7f51308e5f874c0fae1660
parent6f30592e8cf0c9eb2e403fe2a44c1d7c1d58b4f1
staging:iio:adis16400: Fix ADIS16334 temperature address

The channel spec for ADUS16334's temperature channel uses the address and scan
index for the Z-axis acceleration channel. This patch fixes it to use the
temperature channel address and scan index instead.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/imu/adis16400_core.c