ACPI: bus: Introduce acpi_match_acpi_device() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Jul 2023 12:14:07 +0000 (15:14 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Jul 2023 17:28:20 +0000 (19:28 +0200)
commit2b5ae9604949391da6661eab0a854de4ecd140f6
treed1b0284bfed689374bb4ca7b6124061ca1920bfc
parent90f6af81604c7f831273c08ac9994d0d0724b553
ACPI: bus: Introduce acpi_match_acpi_device() helper

Match the ACPI device against a given list of ACPI IDs.

Subsequent changes will make use of this.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[ rjw: Changelog edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c
include/linux/acpi.h