public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/8] iio: accel: convert to guard(mutex)
@ 2026-03-14 17:06 Rajveer Chaudhari
  2026-03-14 17:06 ` [PATCH v4 1/8] iio: accel: bmc150: sort headers alphabetically Rajveer Chaudhari
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Rajveer Chaudhari @ 2026-03-14 17:06 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.

v4 : Sort Headers alphabetically

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

Rajveer Chaudhari (8):
  iio: accel: bmc150: sort headers alphabetically
  iio: accel: bmc150: convert to guard(mutex)
  iio: accel: mma8452: sort headers alphabetically
  iio: accel: mma8452: convert to guard(mutex)
  iio: accel: mma9551: sort headers alphabetically
  iio: accel: mma9551: convert to guard(mutex)
  iio: accel: sca3000: sort headers alphabetically
  iio: accel: sca3000: convert to guard(mutex)

 drivers/iio/accel/bmc150-accel-core.c |  38 +++----
 drivers/iio/accel/mma8452.c           |  38 +++----
 drivers/iio/accel/mma9551.c           |  19 ++--
 drivers/iio/accel/sca3000.c           | 157 ++++++++++++--------------
 4 files changed, 115 insertions(+), 137 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-03-15 23:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 17:06 [PATCH v4 0/8] iio: accel: convert to guard(mutex) Rajveer Chaudhari
2026-03-14 17:06 ` [PATCH v4 1/8] iio: accel: bmc150: sort headers alphabetically Rajveer Chaudhari
2026-03-14 19:41   ` David Lechner
2026-03-14 17:06 ` [PATCH v4 2/8] iio: accel: bmc150: convert to guard(mutex) Rajveer Chaudhari
2026-03-15 23:15   ` Linus Walleij
2026-03-14 17:06 ` [PATCH v4 3/8] iio: accel: mma8452: sort headers alphabetically Rajveer Chaudhari
2026-03-14 17:06 ` [PATCH v4 4/8] iio: accel: mma8452: convert to guard(mutex) Rajveer Chaudhari
2026-03-14 17:06 ` [PATCH v4 5/8] iio: accel: mma9551: sort headers alphabetically Rajveer Chaudhari
2026-03-14 17:06 ` [PATCH v4 6/8] iio: accel: mma9551: convert to guard(mutex) Rajveer Chaudhari
2026-03-14 17:06 ` [PATCH v4 7/8] iio: accel: sca3000: sort headers alphabetically Rajveer Chaudhari
2026-03-14 17:06 ` [PATCH v4 8/8] iio: accel: sca3000: convert to guard(mutex) Rajveer Chaudhari
2026-03-14 19:45   ` David Lechner
2026-03-15 19:13   ` Jonathan Cameron
2026-03-15 19:05 ` [PATCH v4 0/8] iio: accel: " Jonathan Cameron

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