Skip to content

Trivial cleanup and refactor dev_pm_ops handling.

Jonathan Cameron linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: magn: hmc5843: Drop excessive indentation of assignments of hmc5843_driverdrivers/iio/magnetometer/hmc5843_spi.c+7 -70 replies
2/2iio: magn: hmc5843: Move struct dev_pm_ops out of headerdrivers/iio/magnetometer/hmc5843.h drivers/iio/magnetometer/hmc5843_core.c drivers/iio/magnetometer/hmc5843_i2c.c +1 more+7 -180 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Trivial cleanup and refactor dev_pm_ops handling.

From: Jonathan Cameron <[email protected]>

This driver was taking an unusual approach to handling the optionality of structures / callbacks depending on CONFIG_PM. Bring it inline with other similar drivers.

Part of continuing to move IIO over to the new PM macros that don't require such complex handling.

Jonathan Cameron (2):
iio: magn: hmc5843: Drop excessive indentation of assignments of

    hmc5843_driver

iio: magn: hmc5843: Move struct dev_pm_ops out of header

 drivers/iio/magnetometer/hmc5843.h      | 13 +------------
 drivers/iio/magnetometer/hmc5843_core.c |  8 ++++----
 drivers/iio/magnetometer/hmc5843_i2c.c  |  2 +-
 drivers/iio/magnetometer/hmc5843_spi.c  | 14 +++++++-------
 4 files changed, 13 insertions(+), 24 deletions(-)
Signature · 1 line
2.37.1