Rafael J. Wysocki 1f7c164b6f ACPI / hotplug / PCI: Rework acpiphp_check_host_bridge()
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 acpiphp_handle_to_bridge() just in order to get that
pointer back.

For this reason, modify acpiphp_check_host_bridge() to take
a struct acpi_device pointer as its argument and rearrange the
code accordingly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2014-02-06 17:31:52 +01:00
..
2014-01-23 18:36:55 -08:00
2014-01-13 11:14:43 -07:00
2014-01-10 14:23:15 -07:00
2014-01-07 17:34:39 -07:00
2014-01-22 16:39:28 -08:00
2014-01-13 11:57:29 -07:00
2014-01-13 11:14:44 -07:00
2014-01-22 22:00:18 -08:00