summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-11-18 12:39:55 +0100
committerInki Dae <inki.dae@samsung.com>2019-12-19 00:52:42 +0100
commit84c92365b20a44c363b95390ea00dfbdd786f031 (patch)
treea5b25944ce6b55b8199b61bb9d27847f444be25c /drivers/gpu
parentLinux 5.5-rc2 (diff)
downloadlinux-84c92365b20a44c363b95390ea00dfbdd786f031.tar.xz
linux-84c92365b20a44c363b95390ea00dfbdd786f031.zip
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 <hslester96@gmail.com> Signed-off-by: Inki Dae <inki.dae@samsung.net>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_gsc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
index 7ae087b0504d..88b6fcaa20be 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
@@ -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);