diff options
author | 2025-02-14 13:57:42 +0100 | |
---|---|---|
committer | 2025-02-17 14:17:56 +0100 | |
commit | cc46371e3d32de0e7ccb6077d064036822b8527f (patch) | |
tree | 450c53af66548ac2f4b43f2bb63778081c6f8efa /scripts/lib/kdoc/kdoc_files.py | |
parent | drm: of: drm_of_find_panel_or_bridge: move misplaced comment (diff) | |
download | wireguard-linux-cc46371e3d32de0e7ccb6077d064036822b8527f.tar.xz wireguard-linux-cc46371e3d32de0e7ccb6077d064036822b8527f.zip |
drm/bridge: panel: use drm_bridge_is_panel() instead of open code
drm_panel_bridge_remove() reads bridge->funcs to find out whether this is a
panel bridge or another kind of bridge. drm_bridge_is_panel() is made
exactly for that, so use it.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250214-drm-assorted-cleanups-v7-3-88ca5827d7af@bootlin.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions