Rafael J. Wysocki d70d141bb1 ACPI: utils: Introduce helper for _DEP list lookup
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>
2023-12-19 18:25:00 +01:00
..
2023-10-26 15:04:49 +02:00
2023-10-26 15:04:49 +02:00
2022-05-25 15:37:07 +02:00
2023-11-04 16:20:36 -10:00
2023-09-21 20:55:43 +02:00
2023-11-01 15:28:33 -10:00
2023-03-27 20:50:28 +02:00