From: Rafael J. Wysocki Date: Mon, 3 Feb 2014 23:39:20 +0000 (+0100) Subject: ACPI / hotplug / PCI: Rework acpiphp_no_hotplug() X-Git-Tag: v3.15-rc1~151^2~14^2~3^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2118d6a4073e394312072b6666cb576e18653b2;p=pandora-kernel.git ACPI / hotplug / PCI: Rework acpiphp_no_hotplug() If a struct acpi_device pointer is passed to acpiphp_no_hotplug() instead of an ACPI handle, the function won't need to call acpi_bus_get_device(), which may be costly, any more. Then, trim_stale_devices() can call acpiphp_no_hotplug() passing the struct acpi_device object it already has directly to that function. Make those changes and update slot_no_hotplug() accordingly. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed