PCI/portdrv: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Tue, 24 Jul 2012 09:20:08 +0000 (17:20 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:11 +0000 (10:11 -0600)
commit2dcfaf85cd0ced6dcfd4bf0012354b3fd2ed1f38
tree5a15e98507a8ff7452378f02f74f666f1d9b23ce
parent028fbad480edfc73157408f894a29385afc9689e
PCI/portdrv: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify portdrv.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
drivers/pci/pcie/portdrv_core.c
drivers/pci/pcie/portdrv_pci.c