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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 25 Sep 2022 16:57:14 +0100
Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> 
> 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.

Patch 1 is now upstream so 2-5 applied to the togreg branch of iio.git and
pushed out as testing until I can rebase that tree on rc1.

Thanks,

Jonathan

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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux