From: Joshua Crofts <crofts@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
Michal Simek <michal.simek@amd.com>,
Peter Korsgaard <jacmet@sunsite.dk>
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Joshua Crofts <crofts@kernel.org>
Subject: [PATCH 4/5] serial: port: remove redundant pm_runtime_dont_use_autosuspend() calls
Date: Sat, 31 Oct 2026 18:09:48 +0100 [thread overview]
Message-ID: <20261031-tty-dont-use-autosuspend-removal-v1-4-7bdadcadc4dd@kernel.org> (raw)
In-Reply-To: <20261031-tty-dont-use-autosuspend-removal-v1-0-7bdadcadc4dd@kernel.org>
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@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
next prev parent reply other threads:[~2026-10-31 17:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-31 17:09 [PATCH 0/5] tty: serial: " Joshua Crofts
2026-10-31 17:09 ` [PATCH 1/5] serial: 8250_omap: remove redunant " Joshua Crofts
2026-10-31 17:09 ` [PATCH 2/5] serial: fsl_lpuart: remove redundant " Joshua Crofts
2026-10-31 17:09 ` [PATCH 3/5] serial: xilinx_uartps: " Joshua Crofts
2026-11-02 4:43 ` Shubhrajyoti Datta
2026-10-31 17:09 ` Joshua Crofts [this message]
2026-10-31 17:09 ` [PATCH 5/5] serial: uartlite: " Joshua Crofts
2026-11-02 4:46 ` Shubhrajyoti Datta
2026-11-16 14:32 ` [PATCH 0/5] tty: serial: " Joshua Crofts
2026-12-01 14:48 ` Joshua Crofts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261031-tty-dont-use-autosuspend-removal-v1-4-7bdadcadc4dd@kernel.org \
--to=crofts@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jacmet@sunsite.dk \
--cc=jirislaby@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=michal.simek@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®