summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/wmi.c
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2021-09-04 17:54:57 +0000
committerHans de Goede <hdegoede@redhat.com>2021-09-14 12:26:00 +0200
commit07ce4cfd292c1d99e76a4480d5c360d66dee2f94 (patch)
tree261e92c7446db2d29f78c23c8576ae31b8cb1825 /drivers/platform/x86/wmi.c
parentad62cd93198bde6644ecb5ff8f6f4c5394b5821a (diff)
downloadlinux-stable-07ce4cfd292c1d99e76a4480d5c360d66dee2f94.tar.gz
linux-stable-07ce4cfd292c1d99e76a4480d5c360d66dee2f94.tar.bz2
linux-stable-07ce4cfd292c1d99e76a4480d5c360d66dee2f94.zip
platform/x86: wmi: fix kernel doc
The kernel doc erroneously specified `wmi_uninstall_notify_handler()` for the `wmi_remove_notify_handler()` function. Fix that. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Link: https://lore.kernel.org/r/20210904175450.156801-2-pobrn@protonmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/wmi.c')
-rw-r--r--drivers/platform/x86/wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c
index a76313006bdc..0b931629f0b0 100644
--- a/drivers/platform/x86/wmi.c
+++ b/drivers/platform/x86/wmi.c
@@ -551,7 +551,7 @@ wmi_notify_handler handler, void *data)
EXPORT_SYMBOL_GPL(wmi_install_notify_handler);
/**
- * wmi_uninstall_notify_handler - Unregister handler for WMI events
+ * wmi_remove_notify_handler - Unregister handler for WMI events
* @guid: 36 char string of the form fa50ff2b-f2e8-45de-83fa-65417f2f49ba
*
* Unregister handler for events sent to the ACPI-WMI mapper device.