From: Alex Chiang Date: Thu, 10 Sep 2009 18:34:04 +0000 (-0600) Subject: PCI Hotplug: acpiphp: find bridges the easy way X-Git-Tag: v2.6.32-rc1~670^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6edd7679db92376ca54f328d6b0f12291c2dab35;p=pandora-kernel.git PCI Hotplug: acpiphp: find bridges the easy way Instead of constantly evaluating _ADR and _SEG over and over again, let's simplify our lives by using: acpi_pci_find_root() for root bridges acpi_get_pci_dev() for p2p bridges This change eliminates some copy 'n paste code and also allows us to simplify some internal interfaces. Reviewed-by: Kenji Kaneshige Tested-by: Kenji Kaneshige Cc: Bjorn Helgaas Signed-off-by: Alex Chiang Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed