[PATCH v2 26/41] drm: rcar-du: encoder: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T09:24:42Z

drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c b/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c
index 32ea09d65d76..db2088529b48 100644
--- a/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c
+++ b/drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c
@@ -142,7 +142,7 @@ int rcar_du_encoder_init(struct rcar_du_device *rcdu,
return PTR_ERR(connector);
}

- return drm_connector_attach_encoder(connector, &renc->base);
+ return 0;
}

void rcar_du_encoder_cleanup(struct rcar_du_device *rcdu)

--
2.53.0