The kernel-doc for drm_of_find_panel_or_bridge() still mentions devm_drm_of_get_bridge() which is deprecated. Update to mention the currently recommended API.
Link: https://lore.kernel.org/all/[email protected]/ Suggested-by: Icenowy Zheng <[email protected]> Signed-off-by: Luca Ceresoli <[email protected]> --- drivers/gpu/drm/drm_panel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c index c00529bfb706..8f35654c4650 100644 --- a/drivers/gpu/drm/drm_panel.c +++ b/drivers/gpu/drm/drm_panel.c @@ -1039,8 +1039,7 @@ EXPORT_SYMBOL(of_drm_find_panel); * return either the associated struct drm_panel or drm_bridge device. * * This function is deprecated and should not be used in new drivers. Use - * of_drm_get_bridge_by_endpoint() instead when not looking for a panel, or - * devm_drm_of_get_bridge() otherwise. + * of_drm_get_bridge_by_endpoint() instead. * * Returns zero if successful, or one of the standard error codes if it fails. */ -- 2.56.0
