OSDN Git Service

drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_width
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jun 2018 20:14:46 +0000 (15:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:40:00 +0000 (16:40 -0500)
commit289278cb7d32685ee75baf599857d7049c4b8030
treea399b3c8f22700f5d107b3d366e0dae87184d8fe
parent5f152a572c10cae4b08c2c5f2932a51684f454ba
drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_width

These functions duplicated functionality which was ultimately added
to the pci core.

All users of these functions have been ported to using the newly
exposed pci functionality.  These functions are no longer used,
so drop them.

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_pci.c
include/drm/drm_pci.h