From: Rafael J. Wysocki Date: Sat, 13 Jul 2013 21:27:23 +0000 (+0200) Subject: ACPI / PCI: Make bus registration and unregistration symmetric X-Git-Tag: v3.12-rc1~178^2~16^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be1c9de98d8904c75a5ab8b2a0d97bea0f7c07cc;p=pandora-kernel.git ACPI / PCI: Make bus registration and unregistration symmetric Since acpi_pci_slot_enumerate() and acpiphp_enumerate_slots() can get the ACPI device handle they need from bus->bridge, it is not necessary to pass that handle to them as an argument. Drop the second argument of acpi_pci_slot_enumerate() and acpiphp_enumerate_slots(), rework them to obtain the ACPI handle from bus->bridge and make acpi_pci_add_bus() and acpi_pci_remove_bus() entirely symmetrical. Tested-by: Mika Westerberg Signed-off-by: Rafael J. Wysocki Acked-by: Yinghai Lu --- Reading git-diff-tree failed