[PATCH 4/5] serial: port: remove redundant pm_runtime_dont_use_autosuspend() calls
Joshua Crofts
crofts at kernel.org
Sat Oct 31 10:09:48 PDT 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/tty/serial/serial_port.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/tty/serial/serial_port.c b/drivers/tty/serial/serial_port.c
index 2fc48cd63f6c..c6243b8fd58a 100644
--- a/drivers/tty/serial/serial_port.c
+++ b/drivers/tty/serial/serial_port.c
@@ -128,7 +128,6 @@ static int serial_port_probe(struct device *dev)
static int serial_port_remove(struct device *dev)
{
- pm_runtime_dont_use_autosuspend(dev);
pm_runtime_disable(dev);
return 0;
--
2.56.0
More information about the linux-arm-kernel
mailing list