diff options
author | Hartmut Knaack <[email protected]> | 2015-07-09 23:51:30 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2015-07-19 14:54:45 +0100 |
commit | 423ad0c405d87868bd1ab19e8b503e6a41c86caf (patch) | |
tree | 0221c5107a5f4e118aacdab0f96b976f1970ee14 /lib/net_utils.c | |
parent | 037e966f2d63896129220112644f32962af6d115 (diff) |
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 <[email protected]>
Reviewed-by: Tiberiu Breana <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions