]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb7f4f48369fd5651af595f9b9a653e662169a6d
treea516479f87c8693d8ad035e135da587bf31caf5a
parent491edde0fb7aadee140a85a00de4c9ea87beaeb9
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