]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: dw-mipi-dsi: Switch to devm_drm_of_get_bridge
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 31 Mar 2022 15:45:02 +0000 (21:15 +0530)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 15:52:48 +0000 (17:52 +0200)
commitaf839eddacbabfe2696980140bdf84aea290d072
tree2f7220782590d418d4f674db3aff97879b2dd72c
parent54a76950af7611e9ca60d2d5ee205e0df0c1380d
drm: bridge: dw-mipi-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.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220331154503.66054-4-jagan@amarulasolutions.com
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c