Skip to content

IIO: Where dev_pm_ops rework and namespaces meet (4-8)

Jonathan Cameron linux-iio 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/25 patches 5 repliesIn review
  2. v1 posting 1/28 patches 10 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iio:accel:kxsd9: Switch from CONFIG_PM guards to pm_ptr() etcdrivers/iio/accel/kxsd9-i2c.c drivers/iio/accel/kxsd9-spi.c drivers/iio/accel/kxsd9.c+4 -110 replies
2/5iio: humidity: hts221: Use EXPORT_SIMPLE_DEV_PM_OPS() to allow compiler to remove dead code.drivers/iio/humidity/hts221_core.c drivers/iio/humidity/hts221_i2c.c drivers/iio/humidity/hts221_spi.c+5 -81 reply
3/5iio: humidity: hts221: Move symbol exports into IIO_HTS221 namespacedrivers/iio/humidity/hts221_core.c drivers/iio/humidity/hts221_i2c.c drivers/iio/humidity/hts221_spi.c+5 -21 reply
4/5iio: imu: lsm6dsx: Use new pm_sleep_ptr() and EXPORT_SIMPLE_DEV_PM_OPS()drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c +1 more+7 -91 reply
5/5iio: imu: lsm6dsx: Move exported symbols to the IIO_LSM6DSX namespacedrivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c +1 more+6 -31 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchLorenzo Bianconi
1/5
2/5A-b
3/5A-b
4/5A-b
5/5A-b

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

Read the v1 thread

Cover letter [RESEND PATCH 0/5] IIO: Where dev_pm_ops rework and namespaces meet (4-8)

From: Jonathan Cameron <[email protected]>

Resend as the first part of this series went via Rafael's tree and is now available in mainline.

Hence time to return to the remainder which didn't really get much review the first time around as focus was on the more interesting new macros in the first few patches.

Now we have NS specific EXPORT_NS[_GPL]_SIMPLE_DEV_PM_OPS() etc we can move these drivers over to their own namespaces reducing polution of the global namespace with exports that are only of interest within multi module drivers.

All comments welcome,

Thanks,

Jonathan

Jonathan Cameron (5):
iio:accel:kxsd9: Switch from CONFIG_PM guards to pm_ptr() etc
iio: humidity: hts221: Use EXPORT_SIMPLE_DEV_PM_OPS() to allow
compiler to remove dead code.
iio: humidity: hts221: Move symbol exports into IIO_HTS221 namespace
iio: imu: lsm6dsx: Use new pm_sleep_ptr() and
EXPORT_SIMPLE_DEV_PM_OPS()
iio: imu: lsm6dsx: Move exported symbols to the IIO_LSM6DSX namespace

 drivers/iio/accel/kxsd9-i2c.c                |  2 +-
 drivers/iio/accel/kxsd9-spi.c                |  2 +-
 drivers/iio/accel/kxsd9.c                    | 11 ++---------
 drivers/iio/humidity/hts221_core.c           | 12 +++++-------
 drivers/iio/humidity/hts221_i2c.c            |  3 ++-
 drivers/iio/humidity/hts221_spi.c            |  3 ++-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 12 +++++-------
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c  |  3 ++-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c  |  3 ++-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c  |  3 ++-
 10 files changed, 24 insertions(+), 30 deletions(-)
Signature · 1 line
2.36.1