[PATCH 4/5] serial: port: remove redundant pm_runtime_dont_use_autosuspend() calls

From: Joshua Crofts

Date: Sat Oct 31 2026 - 13:12:08 EST


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@xxxxxxxxxx>
---
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