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 5/5] serial: uartlite: remove redundant pm_runtime_dont_use_autosuspend() calls
Date: Sat, 31 Oct 2026 18:09:49 +0100 [thread overview]
Message-ID: <20261031-tty-dont-use-autosuspend-removal-v1-5-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/uartlite.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index 6240c3d4dfd7..e7e2fd2b7c59 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -898,7 +898,6 @@ static void ulite_remove(struct platform_device *pdev)
ulite_release(&pdev->dev);
pm_runtime_disable(&pdev->dev);
pm_runtime_set_suspended(&pdev->dev);
- pm_runtime_dont_use_autosuspend(&pdev->dev);
}
/* work with hotplug and coldplug */
--
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 ` [PATCH 4/5] serial: port: " Joshua Crofts
2026-10-31 17:09 ` Joshua Crofts [this message]
2026-11-02 4:46 ` [PATCH 5/5] serial: uartlite: " 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-5-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®