diff options
| author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-09-04 17:56:41 +0000 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2021-09-14 12:26:03 +0200 |
| commit | 25be44f6e2fc9dd117ba6e18fa58317a2015af17 (patch) | |
| tree | 1ea858c2468826a59ac56eac550b2497da1e89f7 /tools/perf/scripts/python | |
| parent | platform/x86: wmi: introduce helper to determine type (diff) | |
| download | linux-25be44f6e2fc9dd117ba6e18fa58317a2015af17.tar.gz linux-25be44f6e2fc9dd117ba6e18fa58317a2015af17.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
