]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: nwl-dsi: Drop the drm_of_panel_bridge_remove() function call
authorLiu Ying <victor.liu@nxp.com>
Fri, 1 Apr 2022 01:58:28 +0000 (09:58 +0800)
committerRobert Foss <robert.foss@linaro.org>
Mon, 4 Apr 2022 09:24:54 +0000 (11:24 +0200)
commit5da53c9d809d9330b7ca59d6b0d0bd1479dc55e4
treef125097b2ea872e71fef9e1217dfa4c804cf759a
parent90a30d4c0741fefe1bc0188ee32053e78ad39058
drm/bridge: nwl-dsi: Drop the drm_of_panel_bridge_remove() function call

Since this driver has been changed to use the resource managed
devm_drm_of_get_bridge() to get bridge from ->attach(), it's
unnecessary to call drm_of_panel_bridge_remove() to remove the
bridge from ->detach().  So, let's drop the drm_of_panel_bridge_remove()
function call.  As nwl_dsi_bridge_detach() only calls
drm_of_panel_bridge_remove(), it can also be dropped.

Cc: Robert Foss <robert.foss@linaro.org>
Cc: Guido Günther <agx@sigxcpu.org>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220401015828.2959505-1-victor.liu@nxp.com
drivers/gpu/drm/bridge/nwl-dsi.c