All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Crofts <crofts@kernel.org>
To: "Jonathan Cameron" <jic23@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Eugen Hristev" <ehristev@kernel.org>,
	"Nicolas Ferre" <nicolas.ferre@microchip.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Claudiu Beznea" <claudiu.beznea@tuxon.dev>,
	"Haibo Chen" <haibo.chen@nxp.com>, "Frank Li" <Frank.Li@nxp.com>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Pengutronix Kernel Team" <kernel@pengutronix.de>,
	"Fabio Estevam" <festevam@gmail.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev
Subject: [PATCH 08/10] iio: imu: kmx61: remove redundant pm_runtime_dont_use_autosuspend() call
Date: Thu,  5 Nov 2026 12:16:33 +0000	[thread overview]
Message-ID: <20261105121635.1612-9-crofts@kernel.org> (raw)
In-Reply-To: <20261105121635.1612-1-crofts@kernel.org>

Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"),
driver core is now responsible for undoing any
pm_runtime_use_autosuspend() calls on driver exit.

Remove the redundant function call.

Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
 drivers/iio/imu/kmx61.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c
index 1ca998f44eb2..bc8e88ffe430 100644
--- a/drivers/iio/imu/kmx61.c
+++ b/drivers/iio/imu/kmx61.c
@@ -1388,7 +1388,6 @@ static int kmx61_probe(struct i2c_client *client)
 err_iio_unregister_acc:
 	iio_device_unregister(data->acc_indio_dev);
 err_pm_cleanup:
-	pm_runtime_dont_use_autosuspend(&client->dev);
 	pm_runtime_disable(&client->dev);
 err_buffer_cleanup_mag:
 	if (client->irq > 0)
-- 
2.47.3


  parent reply	other threads:[~2026-11-05 12:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
2026-11-05 12:16 ` [PATCH 01/10] iio: accel: bmc150: remove redundant pm_runtime_dont_use_autosuspend() call Joshua Crofts
2026-11-05 12:16 ` [PATCH 02/10] iio: accel: kxcjk-1013: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
2026-11-05 12:16 ` [PATCH 03/10] iio: accel: mma9551: " Joshua Crofts
2026-11-05 12:16 ` [PATCH 04/10] iio: accel: mma9553: " Joshua Crofts
2026-11-05 12:16 ` [PATCH 05/10] iio: adc: at91-sama5d2_adc: remove reduntant " Joshua Crofts
2026-11-05 12:16 ` [PATCH 06/10] iio: adc: imx93_adc: remove redundant pm_runtime_dont_use_autosuspend() call Joshua Crofts
2026-11-06  2:11   ` Bough Chen
2026-11-05 12:16 ` [PATCH 07/10] iio: gyro: bmg160: " Joshua Crofts
2026-11-05 12:16 ` Joshua Crofts [this message]
2026-11-05 12:16 ` [PATCH 09/10] iio: light: vncl4035: " Joshua Crofts
2026-11-05 12:16 ` [PATCH 10/10] iio: magnetometer: bmc150_magn: " Joshua Crofts
2026-11-07  3:58 ` [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls 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=20261105121635.1612-9-crofts@kernel.org \
    --to=crofts@kernel.org \
    --cc=Frank.Li@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=andy@kernel.org \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=dlechner@baylibre.com \
    --cc=ehristev@kernel.org \
    --cc=festevam@gmail.com \
    --cc=haibo.chen@nxp.com \
    --cc=imx@lists.linux.dev \
    --cc=jic23@kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=nuno.sa@analog.com \
    --cc=s.hauer@pengutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.