]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: mcde_dsi: Drop explicit bridge remove
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 1 Apr 2022 15:05:33 +0000 (20:35 +0530)
committerRobert Foss <robert.foss@linaro.org>
Mon, 4 Apr 2022 09:14:32 +0000 (11:14 +0200)
commit90a30d4c0741fefe1bc0188ee32053e78ad39058
treee3b285136bf28eafe21f345b566e470370f2877a
parent258b217b2a973b10ed64fffc794a56244c5fd0fc
drm: bridge: mcde_dsi: Drop explicit bridge remove

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@linaro.org>
Reported-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220401150533.7777-1-jagan@amarulasolutions.com
drivers/gpu/drm/mcde/mcde_dsi.c