[PATCH 09/10] iio: light: vncl4035: remove redundant pm_runtime_dont_use_autosuspend() call
Joshua Crofts
crofts at kernel.org
Thu Nov 5 04:16:34 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/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
More information about the linux-arm-kernel
mailing list