drm/bridge: panel: Introduce drmm_of_get_bridge
authorMaxime Ripard <maxime@cerno.tech>
Mon, 23 May 2022 14:38:52 +0000 (16:38 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 7 Sep 2022 08:53:00 +0000 (10:53 +0200)
commit437fe76f58b8ebe2853d629edb87c06b8fe5214c
tree1e952dcd1e95940fd593b8f771d9f5164303f883
parent4199935e9537cf8225308a1341067a2d4edf5d5b
drm/bridge: panel: Introduce drmm_of_get_bridge

Unlike what can be found for other DRM entities, we don't have a
DRM-managed function equivalent to devm_drm_of_get_bridge().

Let's create it.

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/bridge/panel.c
include/drm/drm_bridge.h