ACPI / scan: .match() callback for ACPI scan handlers
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 May 2014 02:21:52 +0000 (04:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 30 May 2014 14:04:35 +0000 (16:04 +0200)
commitaca0a4eb4e325914ddb22a8ed06fcb0222da2a26
tree5f7aafa1c328c72f41c0cc99c21935870cb6f926
parent52d1d0b12beaf98b6d144d7d1b24eb96cfea60f6
ACPI / scan: .match() callback for ACPI scan handlers

Introduce a .match() callback for ACPI scan handlers to allow them to
use more elaborate matching algorithms if necessary.  That is needed
for the upcoming PNP scan handler in particular.

This change is based on a Zhang Rui's prototype.

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