diff options
author | Peter Rosin <peda@axentia.se> | 2018-05-02 09:40:25 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-05-09 09:04:57 +0900 |
commit | 6f2db7dc901a1b89fbc50f7b38f0f7ee17205703 (patch) | |
tree | 233b3a40fa3e3ec81f70db6159d33955defa6c14 /drivers | |
parent | 0ccc1c8f0282e237a0bd6dca7cdac4ed5e318ee7 (diff) |
drm/exynos: hdmi: avoid duplicating drm_bridge_attach
drm_bridge_attach takes care of these assignments, so there is no need
to open-code them a second time.
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index abd84cbcf1c2..09c4bc0b1859 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -954,8 +954,6 @@ static int hdmi_create_connector(struct drm_encoder *encoder) drm_mode_connector_attach_encoder(connector, encoder); if (hdata->bridge) { - encoder->bridge = hdata->bridge; - hdata->bridge->encoder = encoder; ret = drm_bridge_attach(encoder, hdata->bridge, NULL); if (ret) DRM_ERROR("Failed to attach bridge\n"); |