diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-11-18 19:39:55 +0800 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2019-12-19 08:52:42 +0900 |
commit | 84c92365b20a44c363b95390ea00dfbdd786f031 (patch) | |
tree | a5b25944ce6b55b8199b61bb9d27847f444be25c /drivers/gpu/drm/exynos/exynos_drm_gsc.c | |
parent | d1eef1c619749b2a57e514a3fa67d9a516ffa919 (diff) |
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/drm/exynos/exynos_drm_gsc.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gsc.c | 1 |
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); |