From: Rafael J. Wysocki Date: Fri, 22 Nov 2013 20:55:07 +0000 (+0100) Subject: ACPI / hotplug: Introduce common hotplug function acpi_device_hotplug() X-Git-Tag: v3.14-rc1~107^2~11^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c27b2c33b6215eeb3d5c290ac889ab6d543f6207;p=pandora-kernel.git ACPI / hotplug: Introduce common hotplug function acpi_device_hotplug() Modify the common ACPI device hotplug code to always queue up the same function, acpi_device_hotplug(), using acpi_hotplug_execute() and make the PCI host bridge hotplug code use that function too for device hot removal. This allows some code duplication to be reduced and a race condition where the relevant ACPI handle may become invalid between the notification handler and the function queued up by it via acpi_hotplug_execute() to be avoided. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed