ACPI: Update PNPID match handling for notify
authorToshi Kani <toshi.kani@hp.com>
Mon, 4 Mar 2013 21:30:43 +0000 (21:30 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 22:49:39 +0000 (23:49 +0100)
commit6b772e8f9e9deb3528402ac14fd0aa186d84ae75
treea516479f87c8693d8ad035e135da587bf31caf5a
parentc0af41757f406651cdd32de3e915753746c2948a
ACPI: Update PNPID match handling for notify

When installing/removing a notify handler to/from an ACPI device
object, ACPI core tries to match its associated scan handler to
see if it supports hotplug.  However, the matching logic of the
notify handler is different from the matching logic of attaching
a scan handler to an ACPI device object.  This patch updates the
matching logic of the notify handlers to be consistent with the
attach handling.

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c