linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Trivial cleanup and refactor dev_pm_ops handling.
@ 2022-08-07 18:45 Jonathan Cameron
  2022-08-07 18:45 ` [PATCH 1/2] iio: magn: hmc5843: Drop excessive indentation of assignments of hmc5843_driver Jonathan Cameron
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jonathan Cameron @ 2022-08-07 18:45 UTC (permalink / raw)
  To: linux-iio; +Cc: Paul Cercueil, Jonathan Cameron

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

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

-- 
2.37.1


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

end of thread, other threads:[~2022-08-13 15:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-07 18:45 [PATCH 0/2] Trivial cleanup and refactor dev_pm_ops handling Jonathan Cameron
2022-08-07 18:45 ` [PATCH 1/2] iio: magn: hmc5843: Drop excessive indentation of assignments of hmc5843_driver Jonathan Cameron
2022-08-07 18:45 ` [PATCH 2/2] iio: magn: hmc5843: Move struct dev_pm_ops out of header Jonathan Cameron
2022-08-07 18:58 ` [PATCH 0/2] iio: magn: hmc5843: Trivial cleanup and refactor dev_pm_ops handling Jonathan Cameron
2022-08-08  9:22 ` [PATCH 0/2] " Andy Shevchenko
2022-08-13 16:08   ` 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).