ACPI: Fix acpi_dev_state_d0() documentation
PATCH 1/1 ACPI: Fix acpi_dev_state_d0() documentation
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 <[email protected]>
Signed-off-by Sakari Ailus <[email protected]>
--- drivers/acpi/device_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/device_pm.c +1 -1
@@ -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)
Signature · 1 line
2.30.2
Quoted 17 lines · Sakari Ailus
The documentation for
acpi_dev_state_d0()referred toDocumentation/firmware-guide/acpi/low-power-probe.rstthat does not exist, the right file name isDocumentation/firmware-guide/acpi/non-d0-probe.rst. Fix this.Reported-by kernel test robot <[email protected]>Signed-off-by Sakari Ailus <[email protected]>--- drivers/acpi/device_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/device_pm.c +0
-0
drivers/acpi/device_pm.c EXPORT_SYMBOL_GPL(acpi_storage_d3);
Quoted 9 lines
drivers/acpi/device_pm.c +1
-2@@ -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!