]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: mcde_dsi: Switch to devm_drm_of_get_bridge
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 31 Mar 2022 15:45:03 +0000 (21:15 +0530)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 15:52:49 +0000 (17:52 +0200)
commit54cc80ae2807e215ab6fa9369546a81e5194542d
tree529f6a3f0ecd24d69a30684d67edb1f06e5b5502
parent72ce181bc9ef920094655dbc9791c40c92c60a02
drm: bridge: mcde_dsi: Switch to devm_drm_of_get_bridge

devm_drm_of_get_bridge is capable of looking up the downstream
bridge and panel and trying to add a panel bridge if the panel
is found.

Replace explicit finding calls with devm_drm_of_get_bridge.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220331154503.66054-5-jagan@amarulasolutions.com
drivers/gpu/drm/mcde/mcde_dsi.c