]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: imx8qxp-pxl2dpi: simplify put of device_node pointers
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Tue, 16 Dec 2025 17:58:46 +0000 (18:58 +0100)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Tue, 30 Dec 2025 09:11:33 +0000 (10:11 +0100)
commitceea3f7806a109baba4a23c9066eb9e86659408b
treead27ab4520251c719b659cef42c8cd2a42d5a14c
parentc87ad784aacb89cf88c00cde78970543010a6d67
drm/bridge: imx8qxp-pxl2dpi: simplify put of device_node pointers

Simplify the error-management code in
imx8qxp_pxl2dpi_get_available_ep_from_port() by using a release action for
the struct device_node pointers.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20251216-drm-bridge-alloc-getput-drm_of_find_bridge-v3-13-b5165fab8058@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
drivers/gpu/drm/bridge/imx/imx8qxp-pxl2dpi.c