summaryrefslogtreecommitdiff
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-06-10 17:40:39 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-14 17:22:07 +0200
commitaa3a522c4f41537909b2ab4da660cb0deee136e8 (patch)
tree00e6425d984739b95144a733c9d4e7a5f2928d70 /drivers/acpi/sleep.c
parent3f491a28b1f96f1bdc7e3808ef06da76de795707 (diff)
downloadlwn-aa3a522c4f41537909b2ab4da660cb0deee136e8.tar.gz
lwn-aa3a522c4f41537909b2ab4da660cb0deee136e8.zip
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 <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r--drivers/acpi/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 4d2118c8dd6c..1c118c86cd44 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -406,7 +406,7 @@ static int acpi_pm_freeze(void)
}
/**
- * acpi_pre_suspend - Enable wakeup devices, "freeze" EC and save NVS.
+ * acpi_pm_pre_suspend - Enable wakeup devices, "freeze" EC and save NVS.
*/
static int acpi_pm_pre_suspend(void)
{