diff mbox series

[1/1] ACPI: Fix acpi_dev_state_d0() documentation

Message ID 20220818055156.7456-1-sakari.ailus@linux.intel.com (mailing list archive)
State Mainlined, archived
Headers show
Series [1/1] ACPI: Fix acpi_dev_state_d0() documentation | expand

Commit Message

Sakari Ailus Aug. 18, 2022, 5:51 a.m. UTC
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(-)

Comments

Rafael J. Wysocki Aug. 23, 2022, 4:53 p.m. UTC | #1
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!
diff mbox series

Patch

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)