iio:imu:adis16400 fix pressure channel scan type
authorJonathan Cameron <jic23@kernel.org>
Wed, 11 Dec 2013 18:45:00 +0000 (18:45 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 17 Dec 2013 20:34:18 +0000 (20:34 +0000)
commit3425c0f7ac61f2fcfb7f2728e9b7ba7e27aec429
tree5cd42fd7e59a93ec378c2ff2aaa8997ffbf0b250
parentc5fe7a41ad51e0c2df8381e9c85d7343b36b2c1e
iio:imu:adis16400 fix pressure channel scan type

A single channel in this driver was using the IIO_ST macro.
This does not provide a parameter for setting the endianness of
the channel.  Thus this channel will have been reported as whatever
is the native endianness of the cpu rather than big endian. This
means it would be incorrect on little endian platforms.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: stable@vger.kernel.org
drivers/iio/imu/adis16400_core.c