drm/radeon: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Tue, 24 Jul 2012 09:20:30 +0000 (17:20 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:16 +0000 (10:11 -0600)
commit32195aec63caf4a3516e720a3e230af9e1dad974
tree8d531f33cdecd405c0c0a1cb2531255301c6018b
parent5548bfd0eef185b76b421c871af7720c65737578
drm/radeon: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify radeon driver.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c