iio: pressure: hp206c: Use get_unaligned_be24()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 21 Apr 2020 00:31:31 +0000 (03:31 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 May 2020 08:47:20 +0000 (09:47 +0100)
commitb3ab0adb1da98b2b6b76354b7f195ffd05abdc57
treeccec5e854ad17ab559fa453416adbd6b4f2f0f96
parentdfe3da0b2844d86d2e61d9b1fcc8a108f3fd7eb7
iio: pressure: hp206c: Use get_unaligned_be24()

This makes the driver code slightly easier to read.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/hp206c.c