diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-05-06 09:53:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-06-07 11:50:34 +0100 |
commit | 8ba42fb7b17649c9ab5b5e79d4e90370a0b4645e (patch) | |
tree | cea3b4d35b3122f183e5e35c965117618c3caa2b /drivers/iio/frequency | |
parent | 6d4eed9e8e31a855ea6e6969562774e15f7a6849 (diff) | |
download | blackbird-op-linux-8ba42fb7b17649c9ab5b5e79d4e90370a0b4645e.tar.gz blackbird-op-linux-8ba42fb7b17649c9ab5b5e79d4e90370a0b4645e.zip |
iio: Fix endianness issue in ak8975_read_axis()
i2c_smbus_read_word_data() does host endian conversion already,
no need for le16_to_cpu()
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
Diffstat (limited to 'drivers/iio/frequency')
0 files changed, 0 insertions, 0 deletions