iio: adc: ina2xx: Fix incorrect report of data endianness to userspace.
authorJonathan Cameron <jic23@kernel.org>
Tue, 22 Dec 2015 18:51:27 +0000 (18:51 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 22 Dec 2015 18:51:27 +0000 (18:51 +0000)
commite8aab48b34d3bd069dfcf4ccb8f13ba8c98f7845
tree952e49f9a87506d0b44c203203297c3d30bed3e0
parent9b1de75b5deea3e56bfb76d19d71ec599fcc803b
iio: adc: ina2xx: Fix incorrect report of data endianness to userspace.

This was extracted from a reposting of the driver after it had been applied
to the IIO tree.  I have fast tracked it as the driver will be in 4.5 and
it would be nice to fix this trivial issue before it is.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ina2xx-adc.c