ACPI / hotplug / PCI: Eliminate acpiphp_dev_to_bridge()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Jul 2014 20:03:14 +0000 (22:03 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Jul 2014 23:45:21 +0000 (01:45 +0200)
Since acpiphp_dev_to_bridge() is only called by
acpiphp_check_host_bridge(), move the code from it to that function
directly which reduces the call chain depth and makes the code
slightly easier to follow.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found