aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2024-09-01 05:10:53 +0200
committerHans de Goede <hdegoede@redhat.com>2024-09-05 17:21:59 +0200
commit79a56f4c8fa629ac79ada8f4b746195bd91f09c7 (patch)
treef376bcf61afb8cf7a9a5b16f8e82ceddcae935ab /include/linux/acpi.h
parentplatform/x86: wmi: Pass event data directly to legacy notify handlers (diff)
downloadwireguard-linux-79a56f4c8fa629ac79ada8f4b746195bd91f09c7.tar.xz
wireguard-linux-79a56f4c8fa629ac79ada8f4b746195bd91f09c7.zip
platform/x86: wmi: Remove wmi_get_event_data()
Since the WMI driver core now takes care of retrieving the WMI event data even for legacy WMI notify handlers, this function is no longer used. Remove it to prevent WMI drivers from messing up the ACPI firmware on some machines. Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20240901031055.3030-4-W_Armin@gmx.de Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index eed105b1fbfb..3cbe4b57bc73 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -401,7 +401,6 @@ extern acpi_status wmi_set_block(const char *guid, u8 instance,
extern acpi_status wmi_install_notify_handler(const char *guid,
wmi_notify_handler handler, void *data);
extern acpi_status wmi_remove_notify_handler(const char *guid);
-extern acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out);
extern bool wmi_has_guid(const char *guid);
extern char *wmi_get_acpi_device_uid(const char *guid);