[PATCH 1/3] video: dw_mipi_dsi: drop unused and misleading dw_mipi_dsi_crtc_node()

Ahmad Fatoum a.fatoum at barebox.org
Mon Dec 1 00:59:21 PST 2025


The CRTC node would be the remote node on the other side of the graph
link and not the host's device.

Given that this function is unused anyway, let's drop it.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 drivers/video/dw_mipi_dsi.c | 6 ------
 include/video/dw_mipi_dsi.h | 2 --
 2 files changed, 8 deletions(-)

diff --git a/drivers/video/dw_mipi_dsi.c b/drivers/video/dw_mipi_dsi.c
index 0371806fe893..bf95b1b9f6ff 100644
--- a/drivers/video/dw_mipi_dsi.c
+++ b/drivers/video/dw_mipi_dsi.c
@@ -1029,12 +1029,6 @@ struct dw_mipi_dsi *dw_mipi_dsi_bind(struct device *dev,
 }
 EXPORT_SYMBOL_GPL(dw_mipi_dsi_bind);
 
-struct device_node *dw_mipi_dsi_crtc_node(struct dw_mipi_dsi *dsi)
-{
-	return dsi->dsi_host.dev->of_node;
-}
-EXPORT_SYMBOL_GPL(dw_mipi_dsi_crtc_node);
-
 MODULE_AUTHOR("Chris Zhong <zyw at rock-chips.com>");
 MODULE_AUTHOR("Philippe Cornu <philippe.cornu at st.com>");
 MODULE_AUTHOR("Yannick Fertré <yannick.fertre at st.com>");
diff --git a/include/video/dw_mipi_dsi.h b/include/video/dw_mipi_dsi.h
index 9e8b279bb911..01bca73d83fd 100644
--- a/include/video/dw_mipi_dsi.h
+++ b/include/video/dw_mipi_dsi.h
@@ -76,6 +76,4 @@ dw_mipi_dsi_bind(struct device *dev,
 		 const struct dw_mipi_dsi_plat_data *plat_data);
 static inline void dw_mipi_dsi_unbind(struct dw_mipi_dsi *dsi) { }
 
-struct device_node *dw_mipi_dsi_crtc_node(struct dw_mipi_dsi *dsi);
-
 #endif /* __DW_MIPI_DSI__ */
-- 
2.47.3




More information about the barebox mailing list