[PATCH v2 0/5] iio: light: si1133: driver cleanup
From: Joshua Crofts via B4 Relay
Date: Tue Apr 28 2026 - 09:32:36 EST
This series deals with the cleanup and modernization of the Silicon
Labs SI1133 UV/Ambient light sensor.
What seemed like a simple checkpatch cleanup turned out to be more
complex, therefore I've ended up doing a patch series instead.
Changes include:
- adding missing headers
- removing unused macros
- adding guard(mutex)() support
- code style fixes
Signed-off-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
---
Changes in v2:
- Change v2 to patch series
- PATCH 2: remove unused macros
- PATCH 3: add missing include headers
- PATCH 4: group generic <linux/*> headers
- PATCH 5: add guard(mutex)() support
- Link to v1: https://lore.kernel.org/r/20260427-si1133-checkup-v1-1-20f5f11eba6c@xxxxxxxxx
---
Joshua Crofts (5):
iio: light: si1133: prefer complex macros enclosed in parenthesis
iio: light: si1133: remove unused macros
iio: light: si1133: add missing include headers
iio: light: si1133: group generic <linux/*> headers
iio: light: si1133: use guard(mutex)() macro
drivers/iio/light/si1133.c | 57 ++++++++++++++++++++++------------------------
1 file changed, 27 insertions(+), 30 deletions(-)
---
base-commit: d86db1905add39f905cf9f04252804b359914ed6
change-id: 20260427-si1133-checkup-abcc5280adf3
Best regards,
--
Joshua Crofts <joshua.crofts1@xxxxxxxxx>