drm/amd/display: Remove get_connector_for_link.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Tue, 14 Feb 2017 18:50:17 +0000 (13:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:22:07 +0000 (17:22 -0400)
commit9fb8de78ed01453ccc696a9f18cbfe41c60fd433
tree3c5437126f31915d6382c3e7978f566d11311770
parentdff06ddd7f0d322a046fd4a34dec589fbb97adef
drm/amd/display: Remove get_connector_for_link.

We can keep a 1:1 relation between a link and a physical
connector and hence skip the iteration. This function
is used in context of only physical connetors.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
drivers/gpu/drm/amd/display/dc/dc.h