[PATCH 2/5] ACPI: Provide generic functions for matching ACPI device nodes

2012-10-31 Thread Rafael J. Wysocki
From: Mika Westerberg Introduce function acpi_match_device() allowing callers to match struct device objects with populated acpi_handle fields against arrays of ACPI device IDs. Also introduce function acpi_driver_match_device() using acpi_match_device() internally and allowing callers to match

[PATCH 2/5] ACPI: Provide generic functions for matching ACPI device nodes

2012-10-31 Thread Rafael J. Wysocki
From: Mika Westerberg mika.westerb...@linux.intel.com Introduce function acpi_match_device() allowing callers to match struct device objects with populated acpi_handle fields against arrays of ACPI device IDs. Also introduce function acpi_driver_match_device() using acpi_match_device()