aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmc/spt.c
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2023-12-18 20:24:19 +0100
committerHans de Goede <hdegoede@redhat.com>2023-12-19 16:32:46 +0100
commit2c933755eaaa82fffe0201f376713fa2070b9428 (patch)
treebdd3b150ebd8eb7f09c8963f28399e8e1efd0802 /drivers/platform/x86/intel/pmc/spt.c
parent095fa72a19f13b15629611d52447cb17ce223bcd (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 <hdegoede@redhat.com> Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20231218192420.305411-6-W_Armin@gmx.de Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmc/spt.c')
0 files changed, 0 insertions, 0 deletions