[PATCH 35/41] drm/rockchip: lvds: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T11:54:16Z

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

diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c b/drivers/gpu/drm/rockchip/rockchip_lvds.c
index 75f898a10cbc..7a0c4fa29f2f 100644
--- a/drivers/gpu/drm/rockchip/rockchip_lvds.c
+++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c
@@ -628,12 +628,6 @@ static int rockchip_lvds_bind(struct device *dev, struct device *master,
ret = PTR_ERR(connector);
goto err_free_bridge;
}
-
- ret = drm_connector_attach_encoder(connector, encoder);
- if (ret < 0) {
- drm_err(drm_dev, "failed to attach encoder: %d\n", ret);
- goto err_free_bridge;
- }
}

pm_runtime_enable(dev);
--
2.53.0