Skip to content

iio: st_sensors: convert probe functions to full devm

Alexandru Ardelean linux-iio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 5 repliesIn review
  2. v25 patches 3 repliesSuperseded
  3. v14 patches 6 repliesSuperseded

Changes in v3 from the cover letter

* https://lore.kernel.org/linux-iio/[email protected]/
* Fixed a build warning
- When debugging is disabled dev_dbg() ops become a noop and this causes a warning
- Reported-by: kernel test robot <[email protected]>
- https://lore.kernel.org/linux-iio/[email protected]/
* added tag 'Reviewed-by: Andy Shevchenko <[email protected]>' to series
* added tag 'Reviewed-by: Linus Walleij <[email protected]>' to patch 'iio: st_sensors: disable regulators after device unregistration'

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iio: st_sensors: disable regulators after device unregistrationdrivers/iio/accel/st_accel_i2c.c drivers/iio/accel/st_accel_spi.c drivers/iio/gyro/st_gyro_i2c.c +5 more+16 -160 replies
2/5iio: st_sensors: remove st_sensors_deallocate_trigger() functiondrivers/iio/accel/st_accel_core.c drivers/iio/common/st_sensors/st_sensors_trigger.c drivers/iio/gyro/st_gyro_core.c +3 more+19 -1031 reply
3/5iio: st_sensors: remove st_sensors_power_disable() functiondrivers/iio/accel/st_accel_i2c.c drivers/iio/accel/st_accel_spi.c drivers/iio/common/st_sensors/st_sensors_core.c +7 more+23 -1171 reply
4/5iio: st_sensors: remove all driver remove functionsdrivers/iio/accel/st_accel_core.c drivers/iio/accel/st_accel_i2c.c drivers/iio/accel/st_accel_spi.c +14 more+9 -1391 reply
5/5iio: st_sensors: remove reference to parent device object on st_sensor_datadrivers/iio/accel/st_accel_core.c drivers/iio/common/st_sensors/st_sensors_i2c.c drivers/iio/common/st_sensors/st_sensors_spi.c +6 more+12 -161 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijAndy Shevchenko
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] iio: st_sensors: convert probe functions to full devm

Changelog v2 - v3:
* https://lore.kernel.org/linux-iio/[email protected]/
* Fixed a build warning
- When debugging is disabled dev_dbg() ops become a noop and this causes a warning
- Reported-by: kernel test robot <[email protected]>
- https://lore.kernel.org/linux-iio/[email protected]/
* added tag 'Reviewed-by: Andy Shevchenko <[email protected]>' to series
* added tag 'Reviewed-by: Linus Walleij <[email protected]>' to patch 'iio: st_sensors: disable regulators after device unregistration'

Changelog v1 - v2:
* https://lore.kernel.org/linux-iio/[email protected]/
* added patch 'iio: st_sensors: disable regulators after device unregistration'
- splits the regulator disable fix in a separate patch

Alexandru Ardelean (5):
iio: st_sensors: disable regulators after device unregistration
iio: st_sensors: remove st_sensors_deallocate_trigger() function
iio: st_sensors: remove st_sensors_power_disable() function
iio: st_sensors: remove all driver remove functions
iio: st_sensors: remove reference to parent device object on
st_sensor_data

 drivers/iio/accel/st_accel_core.c             | 31 ++---------
 drivers/iio/accel/st_accel_i2c.c              | 23 +-------
 drivers/iio/accel/st_accel_spi.c              | 23 +-------
 .../iio/common/st_sensors/st_sensors_core.c   | 34 ++++++------
 .../iio/common/st_sensors/st_sensors_i2c.c    |  1 -
 .../iio/common/st_sensors/st_sensors_spi.c    |  1 -
 .../common/st_sensors/st_sensors_trigger.c    | 53 +++++++------------
 drivers/iio/gyro/st_gyro_core.c               | 27 ++--------
 drivers/iio/gyro/st_gyro_i2c.c                | 23 +-------
 drivers/iio/gyro/st_gyro_spi.c                | 23 +-------
 drivers/iio/imu/st_lsm9ds0/st_lsm9ds0.h       |  1 -
 drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_core.c  | 17 +-----
 drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c   |  6 ---
 drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c   |  6 ---
 drivers/iio/magnetometer/st_magn_core.c       | 29 ++--------
 drivers/iio/magnetometer/st_magn_i2c.c        | 23 +-------
 drivers/iio/magnetometer/st_magn_spi.c        | 23 +-------
 drivers/iio/pressure/st_pressure_core.c       | 27 ++--------
 drivers/iio/pressure/st_pressure_i2c.c        | 23 +-------
 drivers/iio/pressure/st_pressure_spi.c        | 23 +-------
 include/linux/iio/common/st_sensors.h         | 13 -----
 21 files changed, 59 insertions(+), 371 deletions(-)
Signature · 1 line
2.31.1