mbox series

[0/6] iio: PM macro rework continued.

Message ID 20220807185618.1038812-1-jic23@kernel.org (mailing list archive)
Headers show
Series iio: PM macro rework continued. | expand

Message

Jonathan Cameron Aug. 7, 2022, 6:56 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

These are straight forward cases so I've grouped them together.
Aim here is to move to the macros that don't need __maybe_unused markings
and generally simplify the handling of different CONFIG_PM* options.

Jonathan Cameron (6):
  iio: proximity: sx9310: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and
    pm_sleep_ptr()
  iio: proximity: sx9324: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and
    pm_sleep_ptr()
  iio: proximity: sx9360: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and
    pm_sleep_ptr()
  iio: proximity: srf04: Use pm_ptr() to remove unused struct dev_pm_ops
  iio: accel: bmi088: Use EXPORT_NS_GPL_RUNTIME_DEV_PM_OPS() and
    pm_ptr()
  iio: light: st_uvis25: Use EXPORT_NS_SIMPLE_DEV_PM_OPS()

 drivers/iio/accel/bmi088-accel-core.c | 15 ++++++---------
 drivers/iio/accel/bmi088-accel-spi.c  |  2 +-
 drivers/iio/light/st_uvis25_core.c    |  9 +++------
 drivers/iio/light/st_uvis25_i2c.c     |  2 +-
 drivers/iio/light/st_uvis25_spi.c     |  2 +-
 drivers/iio/proximity/srf04.c         | 10 +++++-----
 drivers/iio/proximity/sx9310.c        |  8 ++++----
 drivers/iio/proximity/sx9324.c        |  8 ++++----
 drivers/iio/proximity/sx9360.c        |  8 ++++----
 9 files changed, 29 insertions(+), 35 deletions(-)

Comments

Andy Shevchenko Aug. 8, 2022, 9:29 a.m. UTC | #1
On Sun, Aug 7, 2022 at 8:46 PM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> These are straight forward cases so I've grouped them together.
> Aim here is to move to the macros that don't need __maybe_unused markings
> and generally simplify the handling of different CONFIG_PM* options.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
for non-commented and, once addressed as suggested, for commented.

> Jonathan Cameron (6):
>   iio: proximity: sx9310: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and
>     pm_sleep_ptr()
>   iio: proximity: sx9324: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and
>     pm_sleep_ptr()
>   iio: proximity: sx9360: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and
>     pm_sleep_ptr()
>   iio: proximity: srf04: Use pm_ptr() to remove unused struct dev_pm_ops
>   iio: accel: bmi088: Use EXPORT_NS_GPL_RUNTIME_DEV_PM_OPS() and
>     pm_ptr()
>   iio: light: st_uvis25: Use EXPORT_NS_SIMPLE_DEV_PM_OPS()
>
>  drivers/iio/accel/bmi088-accel-core.c | 15 ++++++---------
>  drivers/iio/accel/bmi088-accel-spi.c  |  2 +-
>  drivers/iio/light/st_uvis25_core.c    |  9 +++------
>  drivers/iio/light/st_uvis25_i2c.c     |  2 +-
>  drivers/iio/light/st_uvis25_spi.c     |  2 +-
>  drivers/iio/proximity/srf04.c         | 10 +++++-----
>  drivers/iio/proximity/sx9310.c        |  8 ++++----
>  drivers/iio/proximity/sx9324.c        |  8 ++++----
>  drivers/iio/proximity/sx9360.c        |  8 ++++----
>  9 files changed, 29 insertions(+), 35 deletions(-)
>
> --
> 2.37.1
>