* [PATCH] ACPI: PM: Fix up documentation reference
@ 2022-08-23 13:28 Rafael J. Wysocki
2022-08-24 8:33 ` Mika Westerberg
0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-08-23 13:28 UTC (permalink / raw)
To: Linux ACPI; +Cc: LKML, Linux PM, Mika Westerberg, Sakari Ailus, Tomasz Figa
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
The acpi_dev_state_d0() kerneldoc comment should refer to
non-d0-probe.rst which is there in the tree instead of
low-power-probe.rst which is not. Fix it up.
While at it, adjust the formatting of that comment to save space.
No functional impact.
Fixes: b82a7df4a7f3 ("ACPI: Add a convenience function to tell a device is in D0 state")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
drivers/acpi/device_pm.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Index: linux-pm/drivers/acpi/device_pm.c
===================================================================
--- linux-pm.orig/drivers/acpi/device_pm.c
+++ linux-pm/drivers/acpi/device_pm.c
@@ -1460,9 +1460,8 @@ EXPORT_SYMBOL_GPL(acpi_storage_d3);
* passed to acpi_device_set_power() and before that function returns, so it is
* 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
- * more information.
+ * This function is intended to be used in a driver's probe or remove function.
+ * See Documentation/firmware-guide/acpi/non-d0-probe.rst for more information.
*/
bool acpi_dev_state_d0(struct device *dev)
{
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ACPI: PM: Fix up documentation reference
2022-08-23 13:28 [PATCH] ACPI: PM: Fix up documentation reference Rafael J. Wysocki
@ 2022-08-24 8:33 ` Mika Westerberg
0 siblings, 0 replies; 2+ messages in thread
From: Mika Westerberg @ 2022-08-24 8:33 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Linux ACPI, LKML, Linux PM, Sakari Ailus, Tomasz Figa
On Tue, Aug 23, 2022 at 03:28:02PM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> The acpi_dev_state_d0() kerneldoc comment should refer to
> non-d0-probe.rst which is there in the tree instead of
> low-power-probe.rst which is not. Fix it up.
>
> While at it, adjust the formatting of that comment to save space.
>
> No functional impact.
>
> Fixes: b82a7df4a7f3 ("ACPI: Add a convenience function to tell a device is in D0 state")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-24 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-23 13:28 [PATCH] ACPI: PM: Fix up documentation reference Rafael J. Wysocki
2022-08-24 8:33 ` Mika Westerberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox