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

Jagan Teki jagan at amarulasolutions.com
Fri Apr 1 14:52:32 UTC 2022


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>


More information about the dri-devel mailing list