PCI Hotplug: pciehp: use generic function to find ext capability
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 9 Nov 2007 08:28:11 +0000 (17:28 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:24 +0000 (15:04 -0800)
commit9515930ea2a9a51382a9668569ce008bb46a09bb
treead2f1f6883d34a1a18d2a3cab8a2c81abfdb54af
parent941f10e941ec31beeec4af3ad38644da581010c4
PCI Hotplug: pciehp: use generic function to find ext capability

Remove duplicated code to find an extend capability in PCIEHP driver.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp_pci.c