From: Rafael J. Wysocki Date: Mon, 3 Feb 2014 23:38:52 +0000 (+0100) Subject: ACPI / hotplug / PCI: Drop acpiphp_bus_trim() X-Git-Tag: v3.15-rc1~151^2~14^2~3^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dc3082dc1dd1415177d71f15d4b19bebb1365c0;p=pandora-kernel.git ACPI / hotplug / PCI: Drop acpiphp_bus_trim() If trim_stale_devices() calls acpi_bus_trim() directly, we can save a potentially costly acpi_bus_get_device() invocation. After making that change acpiphp_bus_trim() would only be called from one place, so move the code from it to that place and drop it. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed