iio: magnetometer: ak8974: small endianness fixes
authorIco Doornekamp <ico@pruts.nl>
Sat, 1 Oct 2016 17:30:14 +0000 (19:30 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 3 Oct 2016 20:30:00 +0000 (21:30 +0100)
commit7f709dcda46105f617329630d97f5c97cea5b068
tree78769c7133d62e7948397a404bba0fd64ca5177f
parent23123cd8d3384e4f1df4aae0a6a6220347dd0765
iio: magnetometer: ak8974: small endianness fixes

Fixes two cases of 'cast to restricted __le16' as reported by sparse.

Signed-off-by: Ico Doornekamp <ico@pruts.nl>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8974.c