ACPI / scan: Generalize of_compatible matching
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 10 Apr 2015 14:07:30 +0000 (16:07 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 10 Apr 2015 14:07:30 +0000 (16:07 +0200)
commit54fe9ce385d499fe5a2bb0c68f092c97dad9365c
tree3068d2382c54d1f3fb7d40c55e3e6863891a2a7b
parentfd9caef4e222a2c5e7ed63050780d215a6a263f3
ACPI / scan: Generalize of_compatible matching

Redefine the function used for matching the device's "compatible"
property against a given list of "compatible" strings to take
a pointer to that list instead of a driver object pointer to
make it more general.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/acpi/scan.c