Skip to content

Commit aa3a522

Browse files
Yang Lirafaeljw
authored andcommitted
ACPI: sleep: Fix acpi_pm_pre_suspend() kernel-doc
Fix function name in sleep.c kernel-doc comment to remove a warning found by running make W=1 LLVM=1. drivers/acpi/sleep.c:413: warning: expecting prototype for acpi_pre_suspend(). Prototype was for acpi_pm_pre_suspend() instead. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 3f491a2 commit aa3a522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/sleep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ static int acpi_pm_freeze(void)
406406
}
407407

408408
/**
409-
* acpi_pre_suspend - Enable wakeup devices, "freeze" EC and save NVS.
409+
* acpi_pm_pre_suspend - Enable wakeup devices, "freeze" EC and save NVS.
410410
*/
411411
static int acpi_pm_pre_suspend(void)
412412
{

0 commit comments

Comments
 (0)