Alex Chiang 6edd7679db 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 <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-09-14 08:46:48 -07:00
..
2005-10-18 08:26:15 -07:00
2009-06-16 14:29:33 -07:00
2009-05-12 12:17:36 +02:00
2009-07-01 11:19:29 -07:00
2009-09-09 13:29:35 -07:00
2009-09-09 13:43:58 -07:00
2009-09-09 14:06:49 -07:00
2009-09-09 14:06:49 -07:00
2009-02-13 12:01:56 -08:00
2008-06-25 16:05:13 -07:00
2009-06-29 12:13:56 -07:00
2009-07-12 12:22:34 -07:00