mbox series

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

Message ID 20200915093345.85614-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, 9:33 a.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         | 16 ++-----
 drivers/iio/accel/adis16209.c         | 15 ++-----
 drivers/iio/gyro/adis16136.c          |  9 +---
 drivers/iio/gyro/adis16260.c          | 15 ++-----
 drivers/iio/imu/adis16400.c           | 15 ++-----
 drivers/iio/imu/adis16460.c           | 13 ++----
 drivers/iio/imu/adis16480.c           |  7 +--
 drivers/iio/imu/adis_buffer.c         | 64 ++-------------------------
 drivers/iio/imu/adis_trigger.c        | 60 -------------------------
 drivers/staging/iio/accel/adis16203.c | 16 ++-----
 drivers/staging/iio/accel/adis16240.c | 14 ++----
 include/linux/iio/imu/adis.h          | 27 -----------
 12 files changed, 30 insertions(+), 241 deletions(-)