All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] iio: accel: convert to guard(mutex)
@ 2026-03-09 14:23 Rajveer Chaudhari
  2026-03-09 14:23 ` [PATCH 1/4] iio: accel: bmc150: " Rajveer Chaudhari
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Rajveer Chaudhari @ 2026-03-09 14:23 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.

Also aligned headers alphabetically.

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 |  26 +++---
 drivers/iio/accel/mma8452.c           |  35 ++++----
 drivers/iio/accel/mma9551.c           |  19 +++--
 drivers/iio/accel/sca3000.c           | 115 ++++++++++++--------------
 4 files changed, 91 insertions(+), 104 deletions(-)

-- 
2.53.0


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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 14:23 [PATCH 0/4] iio: accel: convert to guard(mutex) Rajveer Chaudhari
2026-03-09 14:23 ` [PATCH 1/4] iio: accel: bmc150: " Rajveer Chaudhari
2026-03-09 14:34   ` Rajveer Chaudhari
2026-03-09 14:35   ` Waqar Hameed
2026-03-09 16:26     ` Andy Shevchenko
2026-03-09 16:48       ` Waqar Hameed
2026-03-09 17:25         ` Rajveer Chaudhari
2026-03-09 14:23 ` [PATCH 2/4] iio: accel: mma8452: " Rajveer Chaudhari
2026-03-09 14:23 ` [PATCH 3/4] iio: accel: mma9551: " Rajveer Chaudhari
2026-03-09 14:23 ` [PATCH 4/4] iio: accel: sca3000: " Rajveer Chaudhari

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.