diff options
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c index 411f69b76e84..d812c5743eaf 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimc.c | |||
@@ -1843,7 +1843,6 @@ static int fimc_probe(struct platform_device *pdev) | |||
1843 | return 0; | 1843 | return 0; |
1844 | 1844 | ||
1845 | err_ippdrv_register: | 1845 | err_ippdrv_register: |
1846 | devm_kfree(dev, ippdrv->prop_list); | ||
1847 | pm_runtime_disable(dev); | 1846 | pm_runtime_disable(dev); |
1848 | err_get_irq: | 1847 | err_get_irq: |
1849 | free_irq(ctx->irq, ctx); | 1848 | free_irq(ctx->irq, ctx); |
@@ -1857,7 +1856,6 @@ static int fimc_remove(struct platform_device *pdev) | |||
1857 | struct fimc_context *ctx = get_fimc_context(dev); | 1856 | struct fimc_context *ctx = get_fimc_context(dev); |
1858 | struct exynos_drm_ippdrv *ippdrv = &ctx->ippdrv; | 1857 | struct exynos_drm_ippdrv *ippdrv = &ctx->ippdrv; |
1859 | 1858 | ||
1860 | devm_kfree(dev, ippdrv->prop_list); | ||
1861 | exynos_drm_ippdrv_unregister(ippdrv); | 1859 | exynos_drm_ippdrv_unregister(ippdrv); |
1862 | mutex_destroy(&ctx->lock); | 1860 | mutex_destroy(&ctx->lock); |
1863 | 1861 | ||