Searched hist:"25 be44f6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/platform/x86/ |
H A D | wmi.c | 25be44f6 Sat Sep 04 12:56:41 CDT 2021 Barnabás Pőcze <pobrn@protonmail.com> platform/x86: wmi: introduce helper to retrieve event data
Previously, `acpi_wmi_notify_handler()` and `wmi_get_event_data()` shared more or less the exact same code to query the data for a particular event.
Introduce a function to get rid of the duplication, and use it from `acpi_wmi_notify_handler()` and `wmi_get_event_data()`.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Link: https://lore.kernel.org/r/20210904175450.156801-30-pobrn@protonmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|