From: Dhruva Gole <d-gole@ti.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>,
<linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCH] Documentation: PM: Update platform_pci_wakeup_init() reference
Date: Tue, 26 Mar 2024 10:23:03 +0530 [thread overview]
Message-ID: <20240326045303.qy4przp73jcoutvh@dhruva> (raw)
In-Reply-To: <20240325220952.1453477-1-helgaas@kernel.org>
Hi,
On Mar 25, 2024 at 17:09:53 -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
>
> platform_pci_wakeup_init() was removed by d2e5f0c16ad6 ("ACPI / PCI: Rework
> the setup and cleanup of device wakeup") but was still mentioned in the
> documentation.
>
> Update the doc to refer to pci_acpi_setup(), which does the equivalent
> work.
>
Thanks! Documentation does go unnoticed sometimes.
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
>
> pci_acpi_setup() is a firmware-specific wart in this otherwise generic
> paragraph, so maybe there's some better way to express this?
>
> Documentation/power/pci.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/power/pci.rst b/Documentation/power/pci.rst
> index 12070320307e..e2c1fb8a569a 100644
> --- a/Documentation/power/pci.rst
> +++ b/Documentation/power/pci.rst
> @@ -333,7 +333,7 @@ struct pci_dev.
> The PCI subsystem's first task related to device power management is to
> prepare the device for power management and initialize the fields of struct
> pci_dev used for this purpose. This happens in two functions defined in
> -drivers/pci/pci.c, pci_pm_init() and platform_pci_wakeup_init().
> +drivers/pci/, pci_pm_init() and pci_acpi_setup().
Reviewed-by: Dhruva Gole <d-gole@ti.com>
--
Best regards,
Dhruva
next prev parent reply other threads:[~2024-03-26 4:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 22:09 [PATCH] Documentation: PM: Update platform_pci_wakeup_init() reference Bjorn Helgaas
2024-03-26 4:53 ` Dhruva Gole [this message]
2024-03-27 15:23 ` Rafael J. Wysocki
2024-03-27 15:25 ` Bjorn Helgaas
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=20240326045303.qy4przp73jcoutvh@dhruva \
--to=d-gole@ti.com \
--cc=bhelgaas@google.com \
--cc=helgaas@kernel.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rafael@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