diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-04-23 13:34:36 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-04-29 14:35:31 +0900 |
commit | 4c30cbc0b9c89d90c5a0d08bfb62d7a6b6c88d33 (patch) | |
tree | 59eacc67f864e3e7d7d4855c0391f5491349078b /drivers/gpu | |
parent | 11963a638f7ac30f926f4358f7f699828408bb96 (diff) | |
download | kernel_goldelico_gta04-4c30cbc0b9c89d90c5a0d08bfb62d7a6b6c88d33.zip kernel_goldelico_gta04-4c30cbc0b9c89d90c5a0d08bfb62d7a6b6c88d33.tar.gz kernel_goldelico_gta04-4c30cbc0b9c89d90c5a0d08bfb62d7a6b6c88d33.tar.bz2 |
drm/exynos: remove redundant devm_kfree()
There is no need for explicit calls of devm_kfree(), as
the allocated memory will be freed during driver's detach.
Remove the redundant devm_kfree() calls from probe() and
remove() callbacks.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-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 411f69b7..d812c57 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) return 0; err_ippdrv_register: - devm_kfree(dev, ippdrv->prop_list); pm_runtime_disable(dev); err_get_irq: free_irq(ctx->irq, ctx); @@ -1857,7 +1856,6 @@ static int fimc_remove(struct platform_device *pdev) struct fimc_context *ctx = get_fimc_context(dev); struct exynos_drm_ippdrv *ippdrv = &ctx->ippdrv; - devm_kfree(dev, ippdrv->prop_list); exynos_drm_ippdrv_unregister(ippdrv); mutex_destroy(&ctx->lock); |