iio: Convert some drivers from deprecated UNIVERSAL_DEV_PM_OPS()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio: pressure: icp10100: Switch from UNIVERSAL to DEFINE_RUNTIME_DEV_PM_OPS().drivers/ | +5 | 2 replies | |
| 2/2 | iio: temp: mlx90632: Switch form UNVIVERSAL to DEFINE_RUNTIME_DEV_PM_OPS()drivers/ | +5 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andy Shevchenko | Crt Mori | Jean-Baptiste Maneyrol |
|---|---|---|---|
| Series | R-b | ||
| 1/2 | A-b | ||
| 2/2 | A-b T-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 3 reviewers.
Cover letter [PATCH 0/2] iio: Convert some drivers from deprecated UNIVERSAL_DEV_PM_OPS()
From: Jonathan Cameron <[email protected]>
During discussions of the new PM macro definitions, it because clear that UNIVERSAL_DEV_PM_OPS() generally doesn't make much sense as it can lead to unnecessary work.
For the drivers in this set I've taken a look at how the ops are used and believe we can just switch to DEFINE_RUNTIME_PM_OPS() which will only do the suspend if the device is not already runtime suspended.
I'd like some review of these (more than for the straight forward NOP conversions).
Thanks,
Jonathan
Jonathan Cameron (2):
iio: pressure: icp10100: Switch from UNIVERSAL to
DEFINE_RUNTIME_DEV_PM_OPS().
iio: temp: mlx90632: Switch form UNVIVERSAL to
DEFINE_RUNTIME_DEV_PM_OPS()
drivers/iio/pressure/icp10100.c | 10 +++++----- drivers/iio/temperature/mlx90632.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.37.1