Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] iio: accel: convert to guard(mutex)
@ 2026-03-09 15:34 Rajveer Chaudhari
  2026-03-09 15:34 ` [PATCH v2 1/4] iio: accel: bmc150: " Rajveer Chaudhari
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Rajveer Chaudhari @ 2026-03-09 15:34 UTC (permalink / raw)
  To: jic23, dlechner, nuno.sa, andy, waqar.hameed, linusw,
	sakari.ailus, harshit.m.mogalapalli, antoniu.miclaus,
	andrew.ijano
  Cc: linux-iio, linux-kernel, Rajveer Chaudhari

This series converts manual mutex_lock/mutex_unlock pairs to
guard(mutex) in two ADXL accelerometer drivers. Each conversion
also simplifies error handling by removing goto labels and
returning directly on error paths.

Alphabetically Header alignment dropped in v2.

Link to v1: https://lore.kernel.org/all/20260309142352.57407-1-
rajveer.chaudhari.linux@gmail.com/

Rajveer Chaudhari (4):
  iio: accel: bmc150: convert to guard(mutex)
  iio: accel: mma8452: convert to guard(mutex)
  iio: accel: mma9551: convert to guard(mutex)
  iio: accel: sca3000: convert to guard(mutex)

 drivers/iio/accel/bmc150-accel-core.c | 17 ++---
 drivers/iio/accel/mma8452.c           | 21 +++---
 drivers/iio/accel/mma9551.c           | 10 ++-
 drivers/iio/accel/sca3000.c           | 97 ++++++++++++---------------
 4 files changed, 60 insertions(+), 85 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-03-09 20:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 15:34 [PATCH v2 0/4] iio: accel: convert to guard(mutex) Rajveer Chaudhari
2026-03-09 15:34 ` [PATCH v2 1/4] iio: accel: bmc150: " Rajveer Chaudhari
2026-03-09 16:28   ` Andy Shevchenko
2026-03-09 19:15     ` Jonathan Cameron
2026-03-09 19:13   ` Jonathan Cameron
2026-03-09 15:34 ` [PATCH v2 2/4] iio: accel: mma8452: " Rajveer Chaudhari
2026-03-09 15:34 ` [PATCH v2 3/4] iio: accel: mma9551: " Rajveer Chaudhari
2026-03-09 15:34 ` [PATCH v2 4/4] iio: accel: sca3000: " Rajveer Chaudhari
2026-03-09 19:30   ` Jonathan Cameron
2026-03-09 19:58     ` Rajveer Chaudhari
2026-03-09 20:03       ` David Lechner
2026-03-09 20:06         ` Rajveer Chaudhari
2026-03-09 16:30 ` [PATCH v2 0/4] iio: accel: " Andy Shevchenko
2026-03-09 17:33   ` Rajveer Chaudhari
2026-03-09 17:57     ` Waqar Hameed
2026-03-09 18:15       ` Rajveer Chaudhari

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