drm: exynos: dsi: Drop explicit NULL to out_bridge
Subsystems (3)
PATCH 1/1 drm: exynos: dsi: Drop explicit NULL to out_bridge
This driver has been changed to use the resource managed devm_drm_of_get_bridge() to get bridge from ->attach(), it's unnecessary to assign NULL to out_bridge to remove the bridge from ->detach() as devm_drm_of_get_bridge() is automatically remove the bridge when @dev is unbound.
Drop explicit NULL assignment to out_bridge.
Signed-off-by Jagan Teki <[email protected]>
--- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_dsi.c +0 -1
@@ -1500,7 +1500,6 @@ static int exynos_dsi_host_detach(struct mipi_dsi_host *host,if (dsi->out_bridge->funcs->detach) dsi->out_bridge->funcs->detach (dsi->out_bridge); - dsi->out_bridge =NULL ;if (drm->mode_config.poll_enabled)drm_kms_helper_hotplug_event (drm);
Signature · 1 line
2.25.1