PCI: sh: use generic INTx swizzle from PCI core
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 17 Dec 2008 04:37:15 +0000 (21:37 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:15 +0000 (11:13 -0800)
commite55823492dde22f841ec7deeb4d61f195ecb7ed4
tree942cd5b44bed4acb6f64d081418348d2cfd561a7
parent67eed58060ca2049fd59d35f426b6c7dbd51b20b
PCI: sh: use generic INTx swizzle from PCI core

Use the generic pci_common_swizzle() instead of arch-specific code.

Note that pci_common_swizzle() loops based on dev->bus->self, not
dev->bus->parent as the sh simple_swizzle() did.  I think they
are equivalent for this purpose.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/sh/drivers/pci/pci.c