linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org
Cc: Paul Cercueil <paul@crapouillou.net>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [PATCH 0/2] Trivial cleanup and refactor dev_pm_ops handling.
Date: Sun,  7 Aug 2022 19:45:32 +0100	[thread overview]
Message-ID: <20220807184534.1037363-1-jic23@kernel.org> (raw)

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


             reply	other threads:[~2022-08-07 18:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 18:45 Jonathan Cameron [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220807184534.1037363-1-jic23@kernel.org \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=paul@crapouillou.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).