[PATCH 18/41] drm/omapdrm: remove now-redundant call to drm_connector_attach_encoder()

From: Luca Ceresoli

Date: Fri Apr 17 2026 - 06:06:35 EST


drm_connector_attach_encoder() is now called by
drm_bridge_connector_init().

Signed-off-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
---
drivers/gpu/drm/omapdrm/omap_drv.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c
index ae678696fbac..31bf2618046b 100644
--- a/drivers/gpu/drm/omapdrm/omap_drv.c
+++ b/drivers/gpu/drm/omapdrm/omap_drv.c
@@ -507,8 +507,6 @@ static int omap_modeset_init(struct drm_device *dev)
return PTR_ERR(pipe->connector);
}

- drm_connector_attach_encoder(pipe->connector, encoder);
-
crtc = omap_crtc_init(dev, pipe, priv->planes[i]);
if (IS_ERR(crtc))
return PTR_ERR(crtc);

--
2.53.0