public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/8] iio: light: si1133: driver cleanup
@ 2026-04-29 15:04 Joshua Crofts via B4 Relay
  2026-04-29 15:04 ` [PATCH v3 1/8] iio: light: si1133: remove unused macros Joshua Crofts via B4 Relay
                   ` (8 more replies)
  0 siblings, 9 replies; 22+ messages in thread
From: Joshua Crofts via B4 Relay @ 2026-04-29 15:04 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko
  Cc: linux-iio, linux-kernel, Joshua Crofts

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
 - race condition fixes reported by Sashiko

Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
---
Changes in v3:
- PATCH 6: add local variable for timeout
- PATCH 7 & 8: fix potential race conditions as pointed out by Sashiko
- Link to v2: https://lore.kernel.org/r/20260428-si1133-checkup-v2-0-70ad14bfefe2@gmail.com

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@gmail.com

---
Joshua Crofts (8):
      iio: light: si1133: remove unused macros
      iio: light: si1133: prefer complex macros enclosed in parenthesis
      iio: light: si1133: add missing include headers
      iio: light: si1133: group generic <linux/*> headers
      iio: light: si1133: use guard(mutex)() macro
      iio: light: si1133: add local variable for timeout
      iio: light: si1133: reset counter to prevent race condition
      iio: light: si1133: prevent race condition on timeout

 drivers/iio/light/si1133.c | 73 ++++++++++++++++++++++++++++------------------
 1 file changed, 45 insertions(+), 28 deletions(-)
---
base-commit: d86db1905add39f905cf9f04252804b359914ed6
change-id: 20260427-si1133-checkup-abcc5280adf3

Best regards,
-- 
Joshua Crofts <joshua.crofts1@gmail.com>



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2026-04-30  7:58 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29 15:04 [PATCH v3 0/8] iio: light: si1133: driver cleanup Joshua Crofts via B4 Relay
2026-04-29 15:04 ` [PATCH v3 1/8] iio: light: si1133: remove unused macros Joshua Crofts via B4 Relay
2026-04-29 19:14   ` Andy Shevchenko
2026-04-30  7:50     ` Joshua Crofts
2026-04-29 15:04 ` [PATCH v3 2/8] iio: light: si1133: prefer complex macros enclosed in parenthesis Joshua Crofts via B4 Relay
2026-04-29 15:04 ` [PATCH v3 3/8] iio: light: si1133: add missing include headers Joshua Crofts via B4 Relay
2026-04-29 19:16   ` Andy Shevchenko
2026-04-30  7:52     ` Joshua Crofts
2026-04-29 15:04 ` [PATCH v3 4/8] iio: light: si1133: group generic <linux/*> headers Joshua Crofts via B4 Relay
2026-04-29 15:04 ` [PATCH v3 5/8] iio: light: si1133: use guard(mutex)() macro Joshua Crofts via B4 Relay
2026-04-29 19:19   ` Andy Shevchenko
2026-04-30  7:55     ` Joshua Crofts
2026-04-29 15:04 ` [PATCH v3 6/8] iio: light: si1133: add local variable for timeout Joshua Crofts via B4 Relay
2026-04-29 19:21   ` Andy Shevchenko
2026-04-29 15:04 ` [PATCH v3 7/8] iio: light: si1133: reset counter to prevent race condition Joshua Crofts via B4 Relay
2026-04-29 19:23   ` Andy Shevchenko
2026-04-30  7:49     ` Joshua Crofts
2026-04-29 15:04 ` [PATCH v3 8/8] iio: light: si1133: prevent race condition on timeout Joshua Crofts via B4 Relay
2026-04-29 19:27   ` Andy Shevchenko
2026-04-30  7:48     ` Joshua Crofts
2026-04-29 19:28 ` [PATCH v3 0/8] iio: light: si1133: driver cleanup Andy Shevchenko
2026-04-30  7:58   ` Joshua Crofts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox