]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: zopt2201: Use get_unaligned_le24()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 21 Apr 2020 00:31:29 +0000 (03:31 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 May 2020 08:47:19 +0000 (09:47 +0100)
commit904f1426a6fb8304e9967e385fb1bbfe54feb692
treeca1a251e0ad1db899fbe4c349c88faab6ff71912
parent71a3b69de2b180c1d3c340fc58e1587f2bb714d2
iio: light: zopt2201: Use get_unaligned_le24()

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/light/zopt2201.c