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

From: Robert Foss
Date: Mon Apr 04 2022 - 05:27:05 EST


On Fri, 1 Apr 2022 at 16:52, Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> 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>

Applied to drm-misc-next.