diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-07-10 00:51:30 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-19 16:54:45 +0300 |
commit | 423ad0c405d87868bd1ab19e8b503e6a41c86caf (patch) | |
tree | 0221c5107a5f4e118aacdab0f96b976f1970ee14 /mm/zbud.c | |
parent | 037e966f2d63896129220112644f32962af6d115 (diff) | |
download | linux-423ad0c405d87868bd1ab19e8b503e6a41c86caf.tar.xz |
iio:light:stk3310: make endianness independent of host
Data is stored in the device in be16 format. Make use of be16_to_cpu and
cpu_to_be16 to have correct endianness on any host architecture.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Reviewed-by: Tiberiu Breana <tiberiu.a.breana@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions