From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Linux ACPI <linux-acpi@vger.kernel.org>
Cc: Linux PM <linux-pm@vger.kernel.org>,
Brian Norris <briannorris@chromium.org>
Subject: [PATCH v1] ACPI: TAD: Remove redundant pm_runtime_suspend() from probe
Date: Mon, 30 Nov 2026 16:09:33 +0100 [thread overview]
Message-ID: <8773776.T7Z3S40VBb@rafael.j.wysocki> (raw)
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
The pm_runtime_suspend() call in acpi_tad_probe() is redundant
because __driver_probe_device() calls pm_request_idle() after
running the probe callback, so drop it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
drivers/acpi/acpi_tad.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/acpi/acpi_tad.c
+++ b/drivers/acpi/acpi_tad.c
@@ -923,7 +923,6 @@ static int acpi_tad_probe(struct platfor
*/
pm_runtime_set_active(dev);
pm_runtime_enable(dev);
- pm_runtime_suspend(dev);
/*
* acpi_tad_remove() needs to run after unregistering the RTC class
reply other threads:[~2026-11-30 15:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=8773776.T7Z3S40VBb@rafael.j.wysocki \
--to=rafael@kernel.org \
--cc=briannorris@chromium.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
/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