From: Rafael J. Wysocki Date: Mon, 3 Feb 2014 23:39:58 +0000 (+0100) Subject: ACPI / hotplug / PCI: Drop acpiphp_bus_add() X-Git-Tag: v3.15-rc1~151^2~14^2~3^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6708fbf98ac01d27c8d4d7f7b4fa87583b658cc;p=pandora-kernel.git ACPI / hotplug / PCI: Drop acpiphp_bus_add() acpiphp_bus_add() is only called from one place, so move the code out of it into that place and drop it. Also make that code use func_to_acpi_device() to get the struct acpi_device pointer it needs instead of calling acpi_bus_get_device() which may be costly. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed