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

Luca Ceresoli
2026-04-23T09:18:29Z

drivers/gpu/drm/adp/adp_drv.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/adp/adp_drv.c b/drivers/gpu/drm/adp/adp_drv.c
index 4554cf75565e..0a11820d5b8a 100644
--- a/drivers/gpu/drm/adp/adp_drv.c
+++ b/drivers/gpu/drm/adp/adp_drv.c
@@ -444,8 +444,6 @@ static int adp_setup_mode_config(struct adp_drv_private *adp)
if (IS_ERR(adp->connector))
return PTR_ERR(adp->connector);

- drm_connector_attach_encoder(adp->connector, adp->encoder);
-
ret = drm_vblank_init(drm, drm->mode_config.num_crtc);
if (ret < 0) {
drm_err(drm, "failed to initialize vblank");

--
2.53.0