PCI: use pci_find_ext_capability everywhere
authorJesse Barnes <jbarnes@virtuousgeek.org>
Sun, 19 Oct 2008 00:33:19 +0000 (17:33 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 18:01:51 +0000 (11:01 -0700)
commit0927678f55c9a50c296f7e6dae85e87b8236e155
tree480bec05ca6b31329eac8533243e1295749d3e46
parent1543c90c39360df333a21bfbbdfe812ae23b8167
PCI: use pci_find_ext_capability everywhere

Remove some open coded (and buggy) versions of pci_find_ext_capability
in favor of the real routine in the PCI core.

Tested-by: Tomasz Czernecki <czernecki@gmail.com>
Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv.c
drivers/pci/pcie/aer/aerdrv_core.c
drivers/pci/pcie/portdrv_core.c
drivers/scsi/qla2xxx/qla_os.c
include/linux/aer.h