[PATCH v2 0/2] iio: light: ltr501: cleanup locking and headers

rafasales em usp.br rafasales em usp.br
Seg Abr 20 22:53:08 -03 2026


From: "Rafael B. Sales" <rafasales em 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



Mais detalhes sobre a lista de discussão kernel