Re: [PATCH] drm/bridge: nwl-dsi: Drop the drm_of_panel_bridge_remove() function call

From: Jagan Teki
Date: Fri Apr 01 2022 - 11:45:02 EST


On Fri, Apr 1, 2022 at 7:26 AM Liu Ying <victor.liu@xxxxxxx> 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@xxxxxxxxxx>
> Cc: Guido Günther <agx@xxxxxxxxxxx>
> Cc: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>
> Cc: NXP Linux Team <linux-imx@xxxxxxx>
> Signed-off-by: Liu Ying <victor.liu@xxxxxxx>
> ---

Reviewed-by: Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx>