mbox series

[v2,00/10] Use ADIS devm functions for trigger/buffer setup

Message ID 20200915120258.161587-1-nuno.sa@analog.com (mailing list archive)
Headers show
Series Use ADIS devm functions for trigger/buffer setup | expand

Message

Nuno Sa Sept. 15, 2020, 12:02 p.m. UTC
This series updates all users of `adis_setup_buffer_and_trigger()` to
use the devm version of it. The ultimate goal of the series is to drop
it from the lib as stated by Jonathan in [1].

[1]: https://marc.info/?l=linux-iio&m=158326796924980&w=2

Nuno Sá (10):
  iio: adis16201: Use Managed device functions
  iio: adis16209: Use Managed device functions
  iio: adis16136: Use Managed device functions
  iio: adis16260: Use Managed device functions
  iio: adis16400: Use Managed device functions
  iio: adis16460: Use Managed device functions
  iio: adis16480: Use Managed device functions
  staging: iio: adis16203: Use Managed device functions
  staging: iio: adis16240: Use Managed device functions
  iio: adis: Drop non Managed device functions

 drivers/iio/accel/adis16201.c         | 26 ++---------
 drivers/iio/accel/adis16209.c         | 25 ++---------
 drivers/iio/gyro/adis16136.c          | 37 ++++++----------
 drivers/iio/gyro/adis16260.c          | 33 +++++---------
 drivers/iio/imu/adis16400.c           | 38 +++++++---------
 drivers/iio/imu/adis16460.c           | 25 ++---------
 drivers/iio/imu/adis16480.c           | 55 +++++++++++------------
 drivers/iio/imu/adis_buffer.c         | 64 ++-------------------------
 drivers/iio/imu/adis_trigger.c        | 60 -------------------------
 drivers/staging/iio/accel/adis16203.c | 26 ++---------
 drivers/staging/iio/accel/adis16240.c | 25 ++---------
 include/linux/iio/imu/adis.h          | 27 -----------
 12 files changed, 84 insertions(+), 357 deletions(-)