iio:light:apds9960 Fix sparse endian warnings.
commit801ab33596f3e2a70a3b3599618d966736299014
authorJonathan Cameron <jic23@kernel.org>
Wed, 23 Sep 2015 19:36:02 +0000 (23 20:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 12 Oct 2015 17:21:38 +0000 (12 18:21 +0100)
tree0790685a914a7532fc2c6edfbc5e8a2947c83997
parentc04782177f212686cd1d74225df34a5c292be25b
iio:light:apds9960 Fix sparse endian warnings.

This patch is a tidy up of warnings from the autobuilder.

>> drivers/iio/light/apds9960.c:495:32: sparse: cast to restricted __le16
   drivers/iio/light/apds9960.c:635:24: sparse: cast to restricted __le16
>> drivers/iio/light/apds9960.c:672:21: sparse: incorrect type in assignment (different base types)
   drivers/iio/light/apds9960.c:672:21:    expected unsigned short [unsigned] [usertype] buf
   drivers/iio/light/apds9960.c:672:21:    got restricted __le16 [usertype] <noident>

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: mranostay@gmail.com
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/apds9960.c