]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: make of_drm_find_bridge() a wrapper of of_drm_find_and_get_bridge()
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Tue, 16 Dec 2025 17:58:37 +0000 (18:58 +0100)
committerLuca Ceresoli <luca.ceresoli@bootlin.com>
Tue, 30 Dec 2025 09:11:32 +0000 (10:11 +0100)
commit5d7cb36254b5facd2a349331c1a47102d4e66e40
treee48d7ebf916ea88e654854248801c776e51bcff6
parentc637217efb892ac5d0d5f9aea3df92147c2e24db
drm/bridge: make of_drm_find_bridge() a wrapper of of_drm_find_and_get_bridge()

of_drm_find_bridge() is identical to of_drm_find_and_get_bridge() except it
does not increment the refcount. Rewrite it as a wrapper and put the bridge
being returned so the behaviour is still the same.

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