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

Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220331154503.66054-2-jagan@amarulasolutions.com
drivers/gpu/drm/bridge/nwl-dsi.c