[PATCH] drm: bridge: mcde_dsi: Drop explicit bridge remove

Linus Walleij linus.walleij at linaro.org
Fri Apr 1 20:32:34 UTC 2022


On Fri, Apr 1, 2022 at 5:05 PM Jagan Teki <jagan at amarulasolutions.com> wrote:

> This driver has been changed to use the resource managed
> devm_drm_of_get_bridge() to get bridge from ->bind(), it's
> unnecessary to call drm_of_panel_bridge_remove() to remove the
> bridge from ->unbind() as devm_drm_of_get_bridge()
> is automatically remove the bridge when @dev is unbound.
>
> Drop it the drm_bridge_remove().
>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Reported-by: Maxime Ripard <maxime at cerno.tech>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the dri-devel mailing list