[PATCH v2 28/41] drm/rockchip: analogix_dp: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T09:25:19Z

drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
index eea230f0227a..41ff44eaf44d 100644
--- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
+++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
@@ -395,7 +395,7 @@ static int rockchip_dp_bind(struct device *dev, struct device *master,
goto err_cleanup_encoder;
}

- return drm_connector_attach_encoder(connector, dp->plat_data.encoder);
+ return 0;
err_cleanup_encoder:
dp->encoder.encoder.funcs->destroy(&dp->encoder.encoder);
return ret;

--
2.53.0