On Fri, Apr 1, 2022 at 7:26 AM Liu Ying victor.liu@nxp.com wrote:
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