linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] iio: imu: adis: make use the cleanup.h magic
@ 2024-06-18 13:32 Nuno Sa
  2024-06-18 13:32 ` [PATCH 1/9] iio: imu: adis_buffer: split trigger handling Nuno Sa
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Nuno Sa @ 2024-06-18 13:32 UTC (permalink / raw)
  To: linux-iio; +Cc: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron

This is a simple series for moving the adis library into using the
cleanup.h based locks.

It also introduces new helpers (a normal and a scoped lock) for grabbing
the adis device lock using the automatic cleanup guards. In the end
(after updating all users) these new helpers fully replace the legacy
adis_dev_lock() and adis_dev_unlock(). 

---
Nuno Sa (9):
      iio: imu: adis_buffer: split trigger handling
      iio: imu: adis: move to the cleanup magic
      iio: imu: adis: add cleanup based lock helpers
      iio: gyro: adis16260: make use of the new lock helpers
      iio: gyro: adis16260: make use of the new lock helpers
      iio: imu: adis16400: make use of the new lock helpers
      iio: imu: adis16480: make use of the new lock helpers
      iio: imu: adis16475: make use of the new lock helpers
      iio: imu: adis: remove legacy lock helpers

 drivers/iio/gyro/adis16136.c  | 26 ++++++----------
 drivers/iio/gyro/adis16260.c  | 19 +++++-------
 drivers/iio/imu/adis.c        | 11 +++----
 drivers/iio/imu/adis16400.c   | 72 +++++++++++++++++++++----------------------
 drivers/iio/imu/adis16475.c   | 43 +++++++++-----------------
 drivers/iio/imu/adis16480.c   | 65 +++++++++++++++-----------------------
 drivers/iio/imu/adis_buffer.c | 52 ++++++++++++++++---------------
 include/linux/iio/imu/adis.h  | 66 ++++++++++-----------------------------
 8 files changed, 138 insertions(+), 216 deletions(-)
---
base-commit: cc1ce839526a65620778617da0b022bd88e8a139
change-id: 20240618-dev-iio-adis-cleanup-b6571fddfe13
--

Thanks!
- Nuno Sá


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

end of thread, other threads:[~2024-06-23 16:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18 13:32 [PATCH 0/9] iio: imu: adis: make use the cleanup.h magic Nuno Sa
2024-06-18 13:32 ` [PATCH 1/9] iio: imu: adis_buffer: split trigger handling Nuno Sa
2024-06-23 16:03   ` Jonathan Cameron
2024-06-23 16:15     ` Jonathan Cameron
2024-06-18 13:32 ` [PATCH 2/9] iio: imu: adis: move to the cleanup magic Nuno Sa
2024-06-18 13:32 ` [PATCH 3/9] iio: imu: adis: add cleanup based lock helpers Nuno Sa
2024-06-18 13:32 ` [PATCH 4/9] iio: gyro: adis16260: make use of the new " Nuno Sa
2024-06-18 13:32 ` [PATCH 5/9] " Nuno Sa
2024-06-18 13:32 ` [PATCH 6/9] iio: imu: adis16400: " Nuno Sa
2024-06-18 13:32 ` [PATCH 7/9] iio: imu: adis16480: " Nuno Sa
2024-06-18 13:32 ` [PATCH 8/9] iio: imu: adis16475: " Nuno Sa
2024-06-23 16:16   ` Jonathan Cameron
2024-06-18 13:32 ` [PATCH 9/9] iio: imu: adis: remove legacy " Nuno Sa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).