drivers: iio: magnetometer: Fix sparse endianness warnings cast to restricted __be16
authorSandhya Bankar <bankarsandhya512@gmail.com>
Sun, 25 Sep 2016 13:03:17 +0000 (18:33 +0530)
committerJonathan Cameron <jic23@kernel.org>
Tue, 27 Sep 2016 20:08:45 +0000 (21:08 +0100)
commit69c72ec9c80bbd206c6fac73874d73e69cc623b4
tree1c5a5dabc5e824aff66d4a57f1550521d9aa8af0
parent67e17300dc1d76091d2d513d6aa57e50af2c9648
drivers: iio: magnetometer: Fix sparse endianness warnings cast to restricted __be16

Fix the following sparse endianness warnings:

drivers/iio/magnetometer/ak8975.c:716:16: warning: cast to restricted __le16
drivers/iio/magnetometer/ak8975.c:837:19: warning: cast to restricted __le16
drivers/iio/magnetometer/ak8975.c:838:19: warning: cast to restricted __le16
drivers/iio/magnetometer/ak8975.c:839:19: warning: cast to restricted __le16

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/ak8975.c