From: Bjorn Helgaas Date: Tue, 9 Dec 2008 04:30:51 +0000 (-0700) Subject: ACPI: PCI: lookup _PRT entry by PCI dev and pin, not segment/bus/dev/pin X-Git-Tag: v2.6.29-rc1~34^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=063563b4b8f87e2be0e127ccf3a8e6eef6309ff4;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed