Centos-kernel-stream-9/drivers/platform/surface
Mark Langsdorf a6a049f0fc ACPI: utils: Introduce helper for _DEP list lookup
JIRA: https://issues.redhat.com/browse/RHEL-54149

commit d70d141bb15f328528f94557ddf754abeb027365
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date: Tue, 19 Dec 2023 18:25:00 +0000

The ACPI LPSS driver and the Surface platform driver code use almost the
same code pattern for checking if one ACPI device is present in the list
returned by _DEP for another ACPI device.

To reduce the resulting code duplication, introduce a helper for that
called acpi_device_dep() and invoke it from both places.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2024-08-22 11:21:52 -04:00
..
aggregator
Kconfig
Makefile
surface3-wmi.c
surface3_button.c
surface3_power.c
surface_acpi_notify.c ACPI: utils: Introduce helper for _DEP list lookup 2024-08-22 11:21:52 -04:00
surface_aggregator_cdev.c
surface_aggregator_registry.c
surface_dtx.c
surface_gpe.c
surface_hotplug.c
surface_platform_profile.c
surfacepro3_button.c