ACPI / hotplug / PCI: Get rid of check_sub_bridges()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sat, 13 Jul 2013 17:09:59 +0000 (20:09 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2013 02:00:28 +0000 (04:00 +0200)
commit2d8b1d566a5f4874f4d92361f5cdbb50baa396f8
tree67533fe53b9dca725b9fca5091ff52aa2f2d241c
parentff181e5a4f6b536e5f3f1601cd5c54e792cd9abc
ACPI / hotplug / PCI: Get rid of check_sub_bridges()

Now that acpiphp_check_bridge() always enumerates devices behind the
bridge, there is no need to do that for each sub-bridge anymore like
it is done in the current ACPI-based PCI hotplug (ACPIPHP) code.

Given this we don't need check_sub_bridges() anymore, so drop that
function completely.

This also simplifies the ACPIPHP code a bit.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/acpiphp_glue.c