]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: light: Use aligned_s64 instead of open coding alignment.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2024 18:28:59 +0000 (18:28 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Dec 2024 14:28:15 +0000 (14:28 +0000)
commita801016da0bbb955acf1a551584790e3816bb4db
tree8349baaa30d2b81a39f1f225335e04c3ff0494a4
parent8d7940857f914d5c6270d5718a96e5dabdedcbad
iio: light: Use aligned_s64 instead of open coding alignment.

Use this new type to both slightly simplify the code and avoid
confusing static analysis tools. Mostly this series is about consistency
to avoid this code pattern getting copied into more drivers.

Acked-By: Matti Vaittinen <mazziesaccount@gmail.com> #For bu27034, rpr0521
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20241215182912.481706-9-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/adjd_s311.c
drivers/iio/light/as73211.c
drivers/iio/light/bh1745.c
drivers/iio/light/isl29125.c
drivers/iio/light/ltr501.c
drivers/iio/light/max44000.c
drivers/iio/light/rohm-bu27034.c
drivers/iio/light/rpr0521.c
drivers/iio/light/st_uvis25.h
drivers/iio/light/tcs3414.c
drivers/iio/light/tcs3472.c