ACPI: PCI: lookup _PRT entry by PCI dev and pin, not segment/bus/dev/pin
commit063563b4b8f87e2be0e127ccf3a8e6eef6309ff4
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 9 Dec 2008 04:30:51 +0000 (8 21:30 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 02:28:19 +0000 (30 21:28 -0500)
treed2e1c9c8d7c0d29d52df1ae9117cbd1cd516a4d9
parentc458033c9b72a81b890d97ec6339694bab252383
ACPI: PCI: lookup _PRT entry by PCI dev and pin, not segment/bus/dev/pin

There's no reason to pass around segment, bus, and device independently
when we can just pass the pci_dev pointer, which carries all those
already.

The pci_dev contains an interrupt pin, too, but we still have to pass both
the pci_dev and the pin because when we use a bridge to derive an IRQ, we
need the pin from the downstream device, not the bridge.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_irq.c