linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nuno Sa <nuno.sa@analog.com>
To: <linux-iio@vger.kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
	Michael Hennerich <Michael.Hennerich@analog.com>,
	Jonathan Cameron <jic23@kernel.org>
Subject: [PATCH 0/9] iio: imu: adis: make use the cleanup.h magic
Date: Tue, 18 Jun 2024 15:32:03 +0200	[thread overview]
Message-ID: <20240618-dev-iio-adis-cleanup-v1-0-bd93ce7845c7@analog.com> (raw)

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á


             reply	other threads:[~2024-06-18 13:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18 13:32 Nuno Sa [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240618-dev-iio-adis-cleanup-v1-0-bd93ce7845c7@analog.com \
    --to=nuno.sa@analog.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).