Staging: iio: adc: Fix sparse warning
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Tue, 27 Oct 2015 23:08:37 +0000 (16:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2015 22:55:17 +0000 (07:55 +0900)
commitb8732dd2f58a8e5d86044ed8dd913825157c8495
tree8343090dd25e99869782698871e501878ab3a6a6
parent4c3577db3e4f2a7f516462e7ef2b4fb1f09ffd8c
Staging: iio: adc: Fix sparse warning

Fix following sparse endianness problems:

  CHECK   drivers/staging/iio/adc/ad7816.c
drivers/staging/iio/adc/ad7816.c:91:17: warning: cast to restricted
__be16
drivers/staging/iio/adc/ad7816.c:91:17: warning: cast to restricted
__be16
drivers/staging/iio/adc/ad7816.c:91:17: warning: cast to restricted
__be16
drivers/staging/iio/adc/ad7816.c:91:17: warning: cast to restricted
__be16

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7816.c