Skip to content
Snippets Groups Projects
Unverified Commit 9d60cf4e authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Robert Foss
Browse files

drm: of: drm_of_find_panel_or_bridge: move misplaced comment


This comment is misleading as it refers to one of the inner if() branches
only, not the whole outer if(). Move it to the branch it refers to.

Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: default avatarRobert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250214-drm-assorted-cleanups-v7-2-88ca5827d7af@bootlin.com
parent 72443c73
No related branches found
No related tags found
No related merge requests found
...@@ -268,9 +268,9 @@ int drm_of_find_panel_or_bridge(const struct device_node *np, ...@@ -268,9 +268,9 @@ int drm_of_find_panel_or_bridge(const struct device_node *np,
*panel = NULL; *panel = NULL;
} }
/* No panel found yet, check for a bridge next. */
if (bridge) { if (bridge) {
if (ret) { if (ret) {
/* No panel found yet, check for a bridge next. */
*bridge = of_drm_find_bridge(remote); *bridge = of_drm_find_bridge(remote);
if (*bridge) if (*bridge)
ret = 0; ret = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment