iio: remove redundant pm_runtime_dont_use_autosuspend() calls
Subsystems (5)
cover iio: remove redundant pm_runtime_dont_use_autosuspend() calls
Since commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function calls.
Joshua Crofts (10):
iio: accel: bmc150: remove redundant pm_runtime_dont_use_autosuspend()
call
iio: accel: kxcjk-1013: remove redundant
pm_runtime_dont_use_autosuspend() calls
iio: accel: mma9551: remove redundant
pm_runtime_dont_use_autosuspend() calls
iio: accel: mma9553: remove redundant
pm_runtime_dont_use_autosuspend() calls
iio: adc: at91-sama5d2_adc: remove reduntant
pm_runtime_dont_use_autosuspend() calls
iio: adc: imx93_adc: remove redundant
pm_runtime_dont_use_autosuspend() call
iio: gyro: bmg160: remove redundant pm_runtime_dont_use_autosuspend()
call
iio: imu: kmx61: remove redundant pm_runtime_dont_use_autosuspend()
call
iio: light: vncl4035: remove redundant
pm_runtime_dont_use_autosuspend() call
iio: magnetometer: bmc150_magn: remove redundant
pm_runtime_dont_use_autosuspend() call
drivers/iio/accel/bmc150-accel-core.c | 1 - drivers/iio/accel/kxcjk-1013.c | 2 -- drivers/iio/accel/mma9551.c | 2 -- drivers/iio/accel/mma9553.c | 2 -- drivers/iio/adc/at91-sama5d2_adc.c | 2 -- drivers/iio/adc/imx93_adc.c | 1 - drivers/iio/gyro/bmg160_core.c | 1 - drivers/iio/imu/kmx61.c | 1 - drivers/iio/light/vcnl4035.c | 1 - drivers/iio/magnetometer/bmc150_magn.c | 1 - 10 files changed, 14 deletions(-)
base-commit: 1390ca4953a7400ca932cb49635f02c727f885a6
Signature · 1 line
2.47.3
PATCH 1/10 iio: accel: bmc150: 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 anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function call.
--- drivers/iio/accel/bmc150-accel-core.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/accel/bmc150-accel-core.c +0 -1
@@ -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 );
Signature · 1 line
2.47.3
PATCH 2/10 iio: accel: kxcjk-1013: remove redundant pm_runtime_dont_use_autosuspend() calls
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function calls.
--- drivers/iio/accel/kxcjk-1013.c | 2 -- 1 file changed, 2 deletions(-)
drivers/iio/accel/kxcjk-1013.c +0 -2
@@ -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);
Signature · 1 line
2.47.3
PATCH 3/10 iio: accel: mma9551: remove redundant pm_runtime_dont_use_autosuspend() calls
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function calls.
--- drivers/iio/accel/mma9551.c | 2 -- 1 file changed, 2 deletions(-)
drivers/iio/accel/mma9551.c +0 -2
@@ -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);
Signature · 1 line
2.47.3
PATCH 4/10 iio: accel: mma9553: remove redundant pm_runtime_dont_use_autosuspend() calls
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function calls.
--- drivers/iio/accel/mma9553.c | 2 -- 1 file changed, 2 deletions(-)
drivers/iio/accel/mma9553.c +0 -2
@@ -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);
Signature · 1 line
2.47.3
PATCH 5/10 iio: adc: at91-sama5d2_adc: remove reduntant pm_runtime_dont_use_autosuspend() calls
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function calls.
--- drivers/iio/adc/at91-sama5d2_adc.c | 2 -- 1 file changed, 2 deletions(-)
drivers/iio/adc/at91-sama5d2_adc.c +0 -2
@@ -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);
Signature · 1 line
2.47.3
PATCH 6/10 iio: adc: imx93_adc: remove redundant pm_runtime_dont_use_autosuspend() call
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function call.
--- drivers/iio/adc/imx93_adc.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/adc/imx93_adc.c +0 -1
@@ -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);
Signature · 1 line
2.47.3
PATCH 7/10 iio: gyro: bmg160: remove redundant pm_runtime_dont_use_autosuspend() call
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function call.
--- drivers/iio/gyro/bmg160_core.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/gyro/bmg160_core.c +0 -1
@@ -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);
Signature · 1 line
2.47.3
PATCH 8/10 iio: imu: kmx61: remove redundant pm_runtime_dont_use_autosuspend() call
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function call.
--- drivers/iio/imu/kmx61.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/imu/kmx61.c +0 -1
@@ -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 )
Signature · 1 line
2.47.3
PATCH 9/10 iio: light: vncl4035: remove redundant pm_runtime_dont_use_autosuspend() call
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function call.
--- drivers/iio/light/vcnl4035.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/light/vcnl4035.c +0 -1
@@ -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);
Signature · 1 line
2.47.3
PATCH 10/10 iio: magnetometer: bmc150_magn: remove redundant pm_runtime_dont_use_autosuspend() call
In reply to Joshua CroftsSince commit d1706f9da9f4 ("PM: runtime: call pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend() calls on driver exit.
Remove the redundant function call.
--- drivers/iio/magnetometer/bmc150_magn.c | 1 - 1 file changed, 1 deletion(-)
drivers/iio/magnetometer/bmc150_magn.c +0 -1
@@ -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);
Signature · 1 line
2.47.3
RE: [PATCH 06/10] iio: adc: imx93_adc: remove redundant pm_runtime_dont_use_autosuspend() call
In reply to Joshua CroftsQuoted 16 lines
-----Original Message-----
From: Joshua Crofts <[email protected]>
Sent: Thursday, November 5, 2026 8:17 PM
To: Jonathan Cameron <[email protected]>; David Lechner <[email protected]>; Nuno Sá <[email protected]>; Andy Shevchenko <[email protected]>; Eugen Hristev <[email protected]>; Nicolas Ferre <[email protected]>; Alexandre Belloni <[email protected]>; Claudiu Beznea <[email protected]>; Bough Chen <[email protected]>; Frank Li <[email protected]>; Sascha Hauer <[email protected]>; Pengutronix Kernel Team <[email protected]>; Fabio Estevam <[email protected]>
Cc: [email protected]; [email protected]; linux-arm- [email protected]; [email protected]
Subject: [PATCH 06/10] iio: adc:imx93_adc: remove redundantpm_runtime_dont_use_autosuspend()call
Quoted 6 lines
Since commit
d1706f9da9f4("PM: runtime: callpm_runtime_dont_use_autosuspend()onreinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend()calls on driver exit.Remove the redundant function call.
Thanks
Haibo Chen
Quoted 21 lines
Signed-off-by Joshua Crofts <[email protected]>--- drivers/iio/adc/imx93_adc.c | 1 - 1 file changed, 1 deletion(-)drivers/iio/adc/imx93_adc.c index renamed from drivers/iio/adc/imx93_adc.c +0
-0
797adaf371ba..1ced0c59609c100644drivers/iio/adc/imx93_adc.c +0
-1@@ -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
Quoted 3 lines · On Thu, 5 Nov 2026 12:16:25 +0000 Joshua Crofts <[email protected]> wrote:
Since commit
d1706f9da9f4("PM: runtime: callpm_runtime_dont_use_autosuspend()onreinit()"), driver core is now responsible for undoing anypm_runtime_use_autosuspend()calls on driver exit.
This sort of series I particularly like.
Applied!
Jonathan