diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-21 03:31:35 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-05-03 09:47:21 +0100 |
commit | 3009fb9cabba471655f8d5de5090901f9775dc30 (patch) | |
tree | a3d17e0ee007080bee29c66b813923bf9dd7764d /drivers/iio/magnetometer | |
parent | 92b7d5b70fed6ad083d7a232a274520a4c03a60e (diff) |
iio: st_sensors: Use get_unaligned_be24() and sign_extend32()
Use these functions instead of open-coding them.
Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/magnetometer')
0 files changed, 0 insertions, 0 deletions