[PATCH v2 36/41] drm/tidss: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T11:57:59Z

drivers/gpu/drm/tidss/tidss_encoder.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/tidss/tidss_encoder.c b/drivers/gpu/drm/tidss/tidss_encoder.c
index db467bbcdb77..34db8d2a3792 100644
--- a/drivers/gpu/drm/tidss/tidss_encoder.c
+++ b/drivers/gpu/drm/tidss/tidss_encoder.c
@@ -123,12 +123,6 @@ int tidss_encoder_create(struct tidss_device *tidss,
return PTR_ERR(connector);
}

- ret = drm_connector_attach_encoder(connector, enc);
- if (ret) {
- dev_err(tidss->dev, "attaching encoder to connector failed\n");
- return ret;
- }
-
t_enc->connector = connector;

dev_dbg(tidss->dev, "Encoder create done\n");
--
2.53.0