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

Robert Foss robert.foss at linaro.org
Mon Apr 4 09:26:46 UTC 2022


On Fri, 1 Apr 2022 at 16:52, Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> On Fri, Apr 1, 2022 at 7:26 AM Liu Ying <victor.liu at 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 at linaro.org>
> > Cc: Guido Günther <agx at sigxcpu.org>
> > Cc: Jagan Teki <jagan at amarulasolutions.com>
> > Cc: NXP Linux Team <linux-imx at nxp.com>
> > Signed-off-by: Liu Ying <victor.liu at nxp.com>
> > ---
>
> Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>

Applied to drm-misc-next.


More information about the dri-devel mailing list