Skip to content

IIO: Use EXPORT_NS_GPL_DEV_PM_OPS()

Jonathan Cameron linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pm: Improve EXPORT_*_DEV_PM_OPS macrosinclude/linux/pm.h include/linux/pm_runtime.h+35 -220 replies
2/5iio: accel: fxls8962af: Use new EXPORT_NS_GPL_DEV_PM_OPS()drivers/iio/accel/fxls8962af-core.c drivers/iio/accel/fxls8962af-i2c.c drivers/iio/accel/fxls8962af-spi.c+9 -111 reply
3/5iio: gyro: fxas210002c: Move exports to IIO_FXAS210002C namespace.drivers/iio/gyro/fxas21002c_core.c drivers/iio/gyro/fxas21002c_i2c.c drivers/iio/gyro/fxas21002c_spi.c+14 -131 reply
4/5iio: imu: inv_icm42600: Move exports to IIO_ICM42600 namespacedrivers/iio/imu/inv_icm42600/inv_icm42600_core.c drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c+14 -131 reply
5/5iio: imu: inv_mpu: Move exports to IIO_MPU6050 namespacedrivers/iio/imu/inv_mpu6050/inv_mpu_core.c drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c+12 -111 reply

Reviews trailers per patch

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

PatchRafael J. WysockiJonathan CameronRui Miguel SilvaJean-Baptiste ManeyrolSean Nyekjaer
1/5A-b R-b
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. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] IIO: Use EXPORT_NS_GPL_DEV_PM_OPS()

From: Jonathan Cameron <[email protected]>

I've included Paul Cercueil's patch from
https://lore.kernel.org/all/20220813154902.32f86ee2@jic23-huawei/
but my assumption is that will go via a different tree. It's just included here to provide everything needed to build these against current IIO tree / linux-next

V2: Switch to Paul's more flexible implementation.
I've dropped all tags given as the form of the patches is somewhat different from in v1.

The aim is the same as v1 - moving the remaining IIO drivers over to the new PM macros that remove the need to mess around with __maybe_unused or ifdef magic. They do this by ensuring the compiler can see all the code, and then drop it as unused if that is relevant.

Jonathan Cameron (4):
iio: accel: fxls8962af: Use new EXPORT_NS_GPL_DEV_PM_OPS()
iio: gyro: fxas210002c: Move exports to IIO_FXAS210002C namespace.
iio: imu: inv_icm42600: Move exports to IIO_ICM42600 namespace
iio: imu: inv_mpu: Move exports to IIO_MPU6050 namespace

Paul Cercueil (1):
pm: Improve EXPORT_*_DEV_PM_OPS macros

 drivers/iio/accel/fxls8962af-core.c           | 16 ++++----
 drivers/iio/accel/fxls8962af-i2c.c            |  2 +-
 drivers/iio/accel/fxls8962af-spi.c            |  2 +-
 drivers/iio/gyro/fxas21002c_core.c            | 21 +++++------
 drivers/iio/gyro/fxas21002c_i2c.c             |  3 +-
 drivers/iio/gyro/fxas21002c_spi.c             |  3 +-
 .../iio/imu/inv_icm42600/inv_icm42600_core.c  | 21 +++++------
 .../iio/imu/inv_icm42600/inv_icm42600_i2c.c   |  3 +-
 .../iio/imu/inv_icm42600/inv_icm42600_spi.c   |  3 +-
 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c    | 17 ++++-----
 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c     |  3 +-
 drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c     |  3 +-
 include/linux/pm.h                            | 37 ++++++++++++-------
 include/linux/pm_runtime.h                    | 20 ++++++----
 14 files changed, 84 insertions(+), 70 deletions(-)
Signature · 1 line
2.37.2