diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-13 11:17:42 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-18 19:56:32 +0100 |
commit | 6b943a6f23d0b76610320eee599f14f83f8d4c2b (patch) | |
tree | b546abf4827e137344bdbacae5189e6ea2583ca9 /drivers/iio/proximity | |
parent | 1123c084d75116bb6d4a0ff3801facde786093a5 (diff) | |
download | linux-6b943a6f23d0b76610320eee599f14f83f8d4c2b.tar.gz linux-6b943a6f23d0b76610320eee599f14f83f8d4c2b.tar.bz2 linux-6b943a6f23d0b76610320eee599f14f83f8d4c2b.zip |
iio: pressure: bmp280 endian tidy ups
There is a somewhat interesting mixture of be16 and le16 going on in
this one function. Changes here formalize that a little more.
CHECK drivers/iio/pressure/bmp280-core.c
drivers/iio/pressure/bmp280-core.c:215:35: warning: cast to restricted __le16
drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:229:37: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:230:36: warning: cast to restricted __be16
drivers/iio/pressure/bmp280-core.c:237:37: warning: cast to restricted __le16
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/iio/proximity')
0 files changed, 0 insertions, 0 deletions