IB/mthca: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Tue, 24 Jul 2012 09:20:27 +0000 (17:20 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:15 +0000 (10:11 -0600)
commit3c55569b0878fc9285ea5770cfb9b693c73832c7
treef6e00caf22104b87a771ee4f931422e7ef41d1d7
parent332badc323e3846faca15b110c22d62946c1df60
IB/mthca: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify mthca driver.

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>
Acked-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mthca/mthca_reset.c