]> 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)
commitb201e4584f929a0821aa51e801169ff9f1fcbc91
treea516479f87c8693d8ad035e135da587bf31caf5a
parent25ee1126d49e321d5aa2b608476bd951fd01d295
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