DRM: remove drm_pci_device_is_pcie
authorJon Mason <jdmason@kudzu.us>
Mon, 27 Jun 2011 16:07:50 +0000 (16:07 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Jul 2011 07:14:52 +0000 (08:14 +0100)
drm_pci_device_is_pcie duplicates the funcationality of pci_is_pcie.
Convert callers of the former to the latter.  This has the side benefit
of removing an unnecessary search in the PCI configuration space due to
using a saved PCIe capability offset.

[airlied: update for new callsite]

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found