Skip to content
Commit 801ab335 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

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: default avatarJonathan Cameron <jic23@kernel.org>
Cc: mranostay@gmail.com
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c0478217
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment