staging:iio:hmc5843: Fix measurement conversion
authorPeter Meerwald <pmeerw@pmeerw.net>
Tue, 3 Sep 2013 01:05:00 +0000 (02:05 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 18 Sep 2013 18:43:30 +0000 (19:43 +0100)
commit575a6c90c190efabc829a8a9109f5036edaf1a82
treeabce5e3b72979f0eb2b4db94f128f1974f8124f3
parent5e64897638169d13f1637eecdaf8cb8512c4a3a1
staging:iio:hmc5843: Fix measurement conversion

recently broken, cd6fe06588423ff4cca85c85c4402027b04dccf1
staging:iio:hmc5843: Use i2c_smbus_read_word_swapped()

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/hmc5843.c