mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm: of: drm_of_find_panel_or_bridge: simplify freeing the remote node pointer
In prepataion to further modify the logic of this function, simplify putting the struct device_node pointer by using a cleanup action. Reviewed-by: Maxime Ripard <mripard@kernel.org> Link: https://patch.msgid.link/20260814-drm-bridge-every-panel-v1-1-19cd5277cc8d@bootlin.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
This commit is contained in:
parent
e7dee5c0ff
commit
5a859b820d
1 changed files with 2 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue