linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] IIO: Use EXPORT_NS_GPL_DEV_PM_OPS()
@ 2022-09-25 15:57 Jonathan Cameron
  2022-09-25 15:57 ` [PATCH v2 1/5] pm: Improve EXPORT_*_DEV_PM_OPS macros Jonathan Cameron
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Jonathan Cameron @ 2022-09-25 15:57 UTC (permalink / raw)
  To: linux-iio
  Cc: Rafael J . Wysocki, Paul Cercueil, Linus Walleij, Sean Nyekjaer,
	Rui Miguel Silva, Jean-Baptiste Maneyrol, Jonathan Cameron

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

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(-)

-- 
2.37.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-10-15 16:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-25 15:57 [PATCH v2 0/5] IIO: Use EXPORT_NS_GPL_DEV_PM_OPS() Jonathan Cameron
2022-09-25 15:57 ` [PATCH v2 1/5] pm: Improve EXPORT_*_DEV_PM_OPS macros Jonathan Cameron
2022-09-25 15:57 ` [PATCH v2 2/5] iio: accel: fxls8962af: Use new EXPORT_NS_GPL_DEV_PM_OPS() Jonathan Cameron
2022-10-03  9:44   ` Sean Nyekjaer
2022-09-25 15:57 ` [PATCH v2 3/5] iio: gyro: fxas210002c: Move exports to IIO_FXAS210002C namespace Jonathan Cameron
2022-09-26 13:14   ` Rui Miguel Silva
2022-09-25 15:57 ` [PATCH v2 4/5] iio: imu: inv_icm42600: Move exports to IIO_ICM42600 namespace Jonathan Cameron
2022-10-03  8:27   ` Jean-Baptiste Maneyrol
2022-09-25 15:57 ` [PATCH v2 5/5] iio: imu: inv_mpu: Move exports to IIO_MPU6050 namespace Jonathan Cameron
2022-10-03  8:26   ` Jean-Baptiste Maneyrol
2022-10-15 16:47 ` [PATCH v2 0/5] IIO: Use EXPORT_NS_GPL_DEV_PM_OPS() Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).