Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: light: ltr501: cleanup locking and headers
@ 2026-04-21  2:09 rafasales
  2026-04-21  2:10 ` [PATCH v2 1/2] iio: light: ltr501: update header inclusions rafasales
  2026-04-21  2:10 ` [PATCH v2 2/2] iio: light: ltr501: use automatic cleanup of locks rafasales
  0 siblings, 2 replies; 7+ messages in thread
From: rafasales @ 2026-04-21  2:09 UTC (permalink / raw)
  To: andy, dlechner, jic23, nuno.sa; +Cc: Rafael B. Sales, linux-iio

From: "Rafael B. Sales" <rafasales@usp.br>

This series cleans up the iio/light/ltr501.c driver by sorting header
inclusions according to the IWYU principles and simplifying locking 
using automatic cleanup.

Changes in v2:
- Added patch to sort header inclusions
- Fixed naming scheme for functions in commit message
- Reverted original lock boundaries
- Simplified returns
- Used scoped_guard() in switch cases

Rafael B. Sales (2):
  iio: light: ltr501: update header inclusions
  iio: light: ltr501: use automatic cleanup of locks

 drivers/iio/light/ltr501.c | 130 ++++++++++++++++++-------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-04-21 12:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21  2:09 [PATCH v2 0/2] iio: light: ltr501: cleanup locking and headers rafasales
2026-04-21  2:10 ` [PATCH v2 1/2] iio: light: ltr501: update header inclusions rafasales
2026-04-21 10:19   ` Jonathan Cameron
2026-04-21 12:49     ` Andy Shevchenko
2026-04-21 12:52       ` Andy Shevchenko
2026-04-21  2:10 ` [PATCH v2 2/2] iio: light: ltr501: use automatic cleanup of locks rafasales
2026-04-21 10:29   ` Jonathan Cameron

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