[PATCH 24/24][New] ACPI / hotplug / PCI: Rework acpiphp_check_host_bridge()

2014-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since the only existing caller of acpiphp_check_host_bridge(), which is acpi_pci_root_scan_dependent(), already has a struct acpi_device pointer needed to obtain the ACPIPHP context, it doesn't make sense to execute acpi_bus_get_device() on its handle in

[PATCH 24/24][New] ACPI / hotplug / PCI: Rework acpiphp_check_host_bridge()

2014-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since the only existing caller of acpiphp_check_host_bridge(), which is acpi_pci_root_scan_dependent(), already has a struct acpi_device pointer needed to obtain the ACPIPHP context, it doesn't make sense to execute acpi_bus_get_device() on its