atl1c: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Tue, 24 Jul 2012 09:20:24 +0000 (17:20 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:14 +0000 (10:11 -0600)
commiteb0ff56366c38b87c048a624407bc699bf06d43f
treea6fe08e2b80ec59cc9a2fc8072ea1c3c399aa15c
parente5c8ae5fcaadc7947ce3a8e0f82134e56fe4e15b
atl1c: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify atl1c driver.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c