* [PATCH 1/1] ACPI: Fix acpi_dev_state_d0() documentation
@ 2022-08-18 5:51 Sakari Ailus
2022-08-23 16:53 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Sakari Ailus @ 2022-08-18 5:51 UTC (permalink / raw)
To: linux-acpi; +Cc: rafael
The documentation for acpi_dev_state_d0() referred to
Documentation/firmware-guide/acpi/low-power-probe.rst that does not exist,
the right file name is Documentation/firmware-guide/acpi/non-d0-probe.rst.
Fix this.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
drivers/acpi/device_pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c
index 130b5f4a50a3d..fc5ffdb544cae 100644
--- a/drivers/acpi/device_pm.c
+++ b/drivers/acpi/device_pm.c
@@ -1438,7 +1438,7 @@ EXPORT_SYMBOL_GPL(acpi_storage_d3);
* not valid to ask for the ACPI power state of the device in that time frame.
*
* This function is intended to be used in a driver's probe or remove
- * function. See Documentation/firmware-guide/acpi/low-power-probe.rst for
+ * function. See Documentation/firmware-guide/acpi/non-d0-probe.rst for
* more information.
*/
bool acpi_dev_state_d0(struct device *dev)
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] ACPI: Fix acpi_dev_state_d0() documentation
2022-08-18 5:51 [PATCH 1/1] ACPI: Fix acpi_dev_state_d0() documentation Sakari Ailus
@ 2022-08-23 16:53 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-08-23 16:53 UTC (permalink / raw)
To: Sakari Ailus; +Cc: ACPI Devel Maling List, Rafael J. Wysocki
On Thu, Aug 18, 2022 at 7:52 AM Sakari Ailus
<sakari.ailus@linux.intel.com> wrote:
>
> The documentation for acpi_dev_state_d0() referred to
> Documentation/firmware-guide/acpi/low-power-probe.rst that does not exist,
> the right file name is Documentation/firmware-guide/acpi/non-d0-probe.rst.
> Fix this.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> ---
> drivers/acpi/device_pm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c
> index 130b5f4a50a3d..fc5ffdb544cae 100644
> --- a/drivers/acpi/device_pm.c
> +++ b/drivers/acpi/device_pm.c
> @@ -1438,7 +1438,7 @@ EXPORT_SYMBOL_GPL(acpi_storage_d3);
> * not valid to ask for the ACPI power state of the device in that time frame.
> *
> * This function is intended to be used in a driver's probe or remove
> - * function. See Documentation/firmware-guide/acpi/low-power-probe.rst for
> + * function. See Documentation/firmware-guide/acpi/non-d0-probe.rst for
> * more information.
> */
> bool acpi_dev_state_d0(struct device *dev)
> --
Applied as 6.0-rc material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-23 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-18 5:51 [PATCH 1/1] ACPI: Fix acpi_dev_state_d0() documentation Sakari Ailus
2022-08-23 16:53 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox