drm/exynos: gsc: add missed component_del
Subsystems (3)
PATCH 1/1 drm/exynos: gsc: add missed component_del
The driver forgets to call component_del in remove to match component_add in probe.
Add the missed call to fix it.
Signed-off-by Chuhong Yuan <[email protected]>
--- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/exynos/exynos_drm_gsc.c +1 -0
@@ -1313,6 +1313,7 @@ static int gsc_remove(struct platform_device *pdev) {struct device *dev = &pdev->dev; +component_del (dev, &gsc_component_ops);pm_runtime_dont_use_autosuspend (dev);pm_runtime_disable (dev);
Signature · 1 line
2.24.0