From: Jagan Teki Date: Thu, 31 Mar 2022 15:45:00 +0000 (+0530) Subject: drm: bridge: nwl-dsi: Switch to devm_drm_of_get_bridge X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4f4601071ca544559b27b49a043167c009b77c64;p=linux.git 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 Signed-off-by: Jagan Teki Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20220331154503.66054-2-jagan@amarulasolutions.com --- diff --git a/drivers/gpu/drm/bridge/nwl-dsi.c b/drivers/gpu/drm/bridge/nwl-dsi.c index e34fb09b90b9c..a549da5b3f93a 100644 --- a/drivers/gpu/drm/bridge/nwl-dsi.c +++ b/drivers/gpu/drm/bridge/nwl-dsi.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include