diff options
author | Armin Wolf <[email protected]> | 2023-12-18 20:24:19 +0100 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-12-19 16:32:46 +0100 |
commit | 2c933755eaaa82fffe0201f376713fa2070b9428 (patch) | |
tree | bdd3b150ebd8eb7f09c8963f28399e8e1efd0802 /scripts/generate_rust_analyzer.py | |
parent | 095fa72a19f13b15629611d52447cb17ce223bcd (diff) |
platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list
Currently, the ACPI notify handler searches all WMI devices for
a matching WMI event device. This is inefficient since only WMI devices
associated with the notified ACPI device need to be searched.
Use the WMI bus device and device_for_each_child() to search for
a matching WMI event device instead.
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions