[PATCH 08/10] iio: imu: kmx61: remove redundant pm_runtime_dont_use_autosuspend() call

Joshua Crofts crofts at kernel.org
Thu Nov 5 04:16:33 PST 2026


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 at 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




More information about the linux-arm-kernel mailing list