ACPI: scan: Use the acpi_match_acpi_device() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Jul 2023 12:14:10 +0000 (15:14 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Jul 2023 17:28:20 +0000 (19:28 +0200)
commit59e8d4bb8d485a3c125dc1c66439dde589b9d9cd
tree55b39188078d599a7cfe1874a4b149a101e6ade9
parentbf6067a6caa6717c40156fd8dfa443fd568c193a
ACPI: scan: Use the acpi_match_acpi_device() helper

Instead of doing two pass parsing of the table, replace
acpi_match_device_ids() with acpi_match_acpi_device().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c