* [PATCH 01/10] iio: accel: bmc150: remove redundant pm_runtime_dont_use_autosuspend() call
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
@ 2026-11-05 12:16 ` Joshua Crofts
2026-11-05 12:16 ` [PATCH 02/10] iio: accel: kxcjk-1013: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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/accel/bmc150-accel-core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/accel/bmc150-accel-core.c b/drivers/iio/accel/bmc150-accel-core.c
index 46bb36d9366e..754607d1f38a 100644
--- a/drivers/iio/accel/bmc150-accel-core.c
+++ b/drivers/iio/accel/bmc150-accel-core.c
@@ -1751,7 +1751,6 @@ int bmc150_accel_core_probe(struct device *dev, struct regmap *regmap, int irq,
return 0;
err_pm_cleanup:
- pm_runtime_dont_use_autosuspend(dev);
pm_runtime_disable(dev);
err_trigger_unregister:
bmc150_accel_unregister_triggers(data, BMC150_ACCEL_TRIGGERS - 1);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 02/10] iio: accel: kxcjk-1013: remove redundant pm_runtime_dont_use_autosuspend() calls
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 ` Joshua Crofts
2026-11-05 12:16 ` [PATCH 03/10] iio: accel: mma9551: " Joshua Crofts
` (7 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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 calls.
Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
drivers/iio/accel/kxcjk-1013.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
index 336914eb3b3e..18b1ba365f78 100644
--- a/drivers/iio/accel/kxcjk-1013.c
+++ b/drivers/iio/accel/kxcjk-1013.c
@@ -1525,7 +1525,6 @@ static int kxcjk1013_probe(struct i2c_client *client)
return 0;
err_pm_cleanup:
- pm_runtime_dont_use_autosuspend(&client->dev);
pm_runtime_disable(&client->dev);
err_buffer_cleanup:
iio_triggered_buffer_cleanup(indio_dev);
@@ -1547,7 +1546,6 @@ static void kxcjk1013_remove(struct i2c_client *client)
iio_device_unregister(indio_dev);
- pm_runtime_dont_use_autosuspend(&client->dev);
pm_runtime_disable(&client->dev);
pm_runtime_set_suspended(&client->dev);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 03/10] iio: accel: mma9551: remove redundant pm_runtime_dont_use_autosuspend() calls
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 ` Joshua Crofts
2026-11-05 12:16 ` [PATCH 04/10] iio: accel: mma9553: " Joshua Crofts
` (6 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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 calls.
Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
drivers/iio/accel/mma9551.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iio/accel/mma9551.c b/drivers/iio/accel/mma9551.c
index b260e294606a..f1a39a9acd06 100644
--- a/drivers/iio/accel/mma9551.c
+++ b/drivers/iio/accel/mma9551.c
@@ -485,7 +485,6 @@ static int mma9551_probe(struct i2c_client *client)
return 0;
err_pm_cleanup:
- pm_runtime_dont_use_autosuspend(&client->dev);
pm_runtime_disable(&client->dev);
out_poweroff:
mma9551_set_device_state(client, false);
@@ -500,7 +499,6 @@ static void mma9551_remove(struct i2c_client *client)
iio_device_unregister(indio_dev);
- pm_runtime_dont_use_autosuspend(&client->dev);
pm_runtime_disable(&client->dev);
pm_runtime_set_suspended(&client->dev);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 04/10] iio: accel: mma9553: remove redundant pm_runtime_dont_use_autosuspend() calls
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (2 preceding siblings ...)
2026-11-05 12:16 ` [PATCH 03/10] iio: accel: mma9551: " Joshua Crofts
@ 2026-11-05 12:16 ` Joshua Crofts
2026-11-05 12:16 ` [PATCH 05/10] iio: adc: at91-sama5d2_adc: remove reduntant " Joshua Crofts
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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 calls.
Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
drivers/iio/accel/mma9553.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iio/accel/mma9553.c b/drivers/iio/accel/mma9553.c
index f623a0ac6f31..dacea12d702f 100644
--- a/drivers/iio/accel/mma9553.c
+++ b/drivers/iio/accel/mma9553.c
@@ -1122,7 +1122,6 @@ static int mma9553_probe(struct i2c_client *client)
return 0;
err_pm_cleanup:
- pm_runtime_dont_use_autosuspend(&client->dev);
pm_runtime_disable(&client->dev);
out_poweroff:
mma9551_set_device_state(client, false);
@@ -1136,7 +1135,6 @@ static void mma9553_remove(struct i2c_client *client)
iio_device_unregister(indio_dev);
- pm_runtime_dont_use_autosuspend(&client->dev);
pm_runtime_disable(&client->dev);
pm_runtime_set_suspended(&client->dev);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 05/10] iio: adc: at91-sama5d2_adc: remove reduntant pm_runtime_dont_use_autosuspend() calls
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (3 preceding siblings ...)
2026-11-05 12:16 ` [PATCH 04/10] iio: accel: mma9553: " Joshua Crofts
@ 2026-11-05 12:16 ` Joshua Crofts
2026-11-05 12:16 ` [PATCH 06/10] iio: adc: imx93_adc: remove redundant pm_runtime_dont_use_autosuspend() call Joshua Crofts
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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 calls.
Signed-off-by: Joshua Crofts <crofts@kernel.org>
---
drivers/iio/adc/at91-sama5d2_adc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c
index 78081cbfde5e..2f7d2cee81f9 100644
--- a/drivers/iio/adc/at91-sama5d2_adc.c
+++ b/drivers/iio/adc/at91-sama5d2_adc.c
@@ -2469,7 +2469,6 @@ static int at91_adc_probe(struct platform_device *pdev)
pm_runtime_put_noidle(st->dev);
pm_runtime_disable(st->dev);
pm_runtime_set_suspended(st->dev);
- pm_runtime_dont_use_autosuspend(st->dev);
clk_disable_unprepare(st->per_clk);
vref_disable:
regulator_disable(st->vref);
@@ -2490,7 +2489,6 @@ static void at91_adc_remove(struct platform_device *pdev)
pm_runtime_disable(st->dev);
pm_runtime_set_suspended(st->dev);
- pm_runtime_dont_use_autosuspend(st->dev);
clk_disable_unprepare(st->per_clk);
regulator_disable(st->vref);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 06/10] iio: adc: imx93_adc: remove redundant pm_runtime_dont_use_autosuspend() call
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (4 preceding siblings ...)
2026-11-05 12:16 ` [PATCH 05/10] iio: adc: at91-sama5d2_adc: remove reduntant " Joshua Crofts
@ 2026-11-05 12:16 ` Joshua Crofts
2026-11-06 2:11 ` Bough Chen
2026-11-05 12:16 ` [PATCH 07/10] iio: gyro: bmg160: " Joshua Crofts
` (3 subsequent siblings)
9 siblings, 1 reply; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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/adc/imx93_adc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/adc/imx93_adc.c b/drivers/iio/adc/imx93_adc.c
index 797adaf371ba..1ced0c59609c 100644
--- a/drivers/iio/adc/imx93_adc.c
+++ b/drivers/iio/adc/imx93_adc.c
@@ -415,7 +415,6 @@ static void imx93_adc_remove(struct platform_device *pdev)
pm_runtime_get_sync(dev);
pm_runtime_disable(dev);
- pm_runtime_dont_use_autosuspend(dev);
pm_runtime_put_noidle(dev);
iio_device_unregister(indio_dev);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread* RE: [PATCH 06/10] iio: adc: imx93_adc: remove redundant pm_runtime_dont_use_autosuspend() call
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
0 siblings, 0 replies; 12+ messages in thread
From: Bough Chen @ 2026-11-06 2:11 UTC (permalink / raw)
To: Joshua Crofts, Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
> -----Original Message-----
> From: Joshua Crofts <crofts@kernel.org>
> Sent: Thursday, November 5, 2026 8:17 PM
> 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>;
> Bough 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 06/10] iio: adc: imx93_adc: remove redundant
> pm_runtime_dont_use_autosuspend() call
>
> 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.
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Thanks
Haibo Chen
>
> Signed-off-by: Joshua Crofts <crofts@kernel.org>
> ---
> drivers/iio/adc/imx93_adc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/iio/adc/imx93_adc.c b/drivers/iio/adc/imx93_adc.c index
> 797adaf371ba..1ced0c59609c 100644
> --- a/drivers/iio/adc/imx93_adc.c
> +++ b/drivers/iio/adc/imx93_adc.c
> @@ -415,7 +415,6 @@ static void imx93_adc_remove(struct platform_device
> *pdev)
> pm_runtime_get_sync(dev);
>
> pm_runtime_disable(dev);
> - pm_runtime_dont_use_autosuspend(dev);
> pm_runtime_put_noidle(dev);
>
> iio_device_unregister(indio_dev);
> --
> 2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 07/10] iio: gyro: bmg160: remove redundant pm_runtime_dont_use_autosuspend() call
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (5 preceding siblings ...)
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 ` Joshua Crofts
2026-11-05 12:16 ` [PATCH 08/10] iio: imu: kmx61: " Joshua Crofts
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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/gyro/bmg160_core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/gyro/bmg160_core.c b/drivers/iio/gyro/bmg160_core.c
index b007f46d3fd6..f1e1d21e590f 100644
--- a/drivers/iio/gyro/bmg160_core.c
+++ b/drivers/iio/gyro/bmg160_core.c
@@ -1169,7 +1169,6 @@ int bmg160_core_probe(struct device *dev, struct regmap *regmap, int irq,
return 0;
err_pm_cleanup:
- pm_runtime_dont_use_autosuspend(dev);
pm_runtime_disable(dev);
err_buffer_cleanup:
iio_triggered_buffer_cleanup(indio_dev);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 08/10] iio: imu: kmx61: remove redundant pm_runtime_dont_use_autosuspend() call
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (6 preceding siblings ...)
2026-11-05 12:16 ` [PATCH 07/10] iio: gyro: bmg160: " Joshua Crofts
@ 2026-11-05 12:16 ` Joshua Crofts
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
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 09/10] iio: light: vncl4035: remove redundant pm_runtime_dont_use_autosuspend() call
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (7 preceding siblings ...)
2026-11-05 12:16 ` [PATCH 08/10] iio: imu: kmx61: " Joshua Crofts
@ 2026-11-05 12:16 ` Joshua Crofts
2026-11-05 12:16 ` [PATCH 10/10] iio: magnetometer: bmc150_magn: " Joshua Crofts
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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
^ permalink raw reply [flat|nested] 12+ messages in thread* [PATCH 10/10] iio: magnetometer: bmc150_magn: remove redundant pm_runtime_dont_use_autosuspend() call
2026-11-05 12:16 [PATCH 00/10] iio: remove redundant pm_runtime_dont_use_autosuspend() calls Joshua Crofts
` (8 preceding siblings ...)
2026-11-05 12:16 ` [PATCH 09/10] iio: light: vncl4035: " Joshua Crofts
@ 2026-11-05 12:16 ` Joshua Crofts
9 siblings, 0 replies; 12+ messages in thread
From: Joshua Crofts @ 2026-11-05 12:16 UTC (permalink / raw)
To: Jonathan Cameron, David Lechner, Nuno Sá,
Andy Shevchenko, Eugen Hristev, Nicolas Ferre, Alexandre Belloni,
Claudiu Beznea, Haibo Chen, Frank Li, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-iio, linux-kernel, linux-arm-kernel, imx
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/magnetometer/bmc150_magn.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/iio/magnetometer/bmc150_magn.c b/drivers/iio/magnetometer/bmc150_magn.c
index 32dff9cdd0f7..16b5c2451728 100644
--- a/drivers/iio/magnetometer/bmc150_magn.c
+++ b/drivers/iio/magnetometer/bmc150_magn.c
@@ -934,7 +934,6 @@ int bmc150_magn_probe(struct device *dev, struct regmap *regmap,
return 0;
err_pm_cleanup:
- pm_runtime_dont_use_autosuspend(dev);
pm_runtime_disable(dev);
err_buffer_cleanup:
iio_triggered_buffer_cleanup(indio_dev);
--
2.47.3
^ permalink raw reply [flat|nested] 12+ messages in thread