]> git.baikalelectronics.ru Git - kernel.git/commit
iio: pressure: ms5611: Use get_unaligned_be24()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 21 Apr 2020 00:31:32 +0000 (03:31 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 May 2020 08:47:20 +0000 (09:47 +0100)
commit3d8ce7544c7d8305484bb5384029dbbb1445d32a
tree531c9a48873a78f2472af284bceb036b73b9ab2a
parent9aed250c514ec811d14bff5f5160558f6d9fd912
iio: pressure: ms5611: Use get_unaligned_be24()

This makes the driver code slightly easier to read.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Tomasz Duszynski <tduszyns@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/ms5611_i2c.c
drivers/iio/pressure/ms5611_spi.c