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 09/10] iio: light: vncl4035: remove redundant pm_runtime_dont_use_autosuspend() call
Date: Thu, 5 Nov 2026 12:16:34 +0000 [thread overview]
Message-ID: <20261105121635.1612-10-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/light/vcnl4035.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/light/vcnl4035.c b/drivers/iio/light/vcnl4035.c
index 23bd0d42363d..c34a2ab073a1 100644
--- a/drivers/iio/light/vcnl4035.c
+++ b/drivers/iio/light/vcnl4035.c
@@ -607,7 +607,6 @@ static void vcnl4035_remove(struct i2c_client *client)
struct iio_dev *indio_dev = i2c_get_clientdata(client);
int ret;
- pm_runtime_dont_use_autosuspend(&client->dev);
pm_runtime_disable(&client->dev);
iio_device_unregister(indio_dev);
pm_runtime_set_suspended(&client->dev);
--
2.47.3
next prev parent reply other threads:[~2026-11-05 12:17 UTC|newest]
Thread overview: 11+ 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-05 12:16 ` [PATCH 07/10] iio: gyro: bmg160: " Joshua Crofts
2026-11-05 12:16 ` [PATCH 08/10] iio: imu: kmx61: " Joshua Crofts
2026-11-05 12:16 ` Joshua Crofts [this message]
2026-11-05 12:16 ` [PATCH 10/10] iio: magnetometer: bmc150_magn: " Joshua Crofts
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-10-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox