diff options
author | Tamseel Shams <m.shams@samsung.com> | 2020-05-21 17:22:10 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2020-06-29 03:38:41 +0300 |
commit | aee83fbdbfa112c72fef3b91cd38ae93841d1075 (patch) | |
tree | b548dc8ff1b46ccc428f8c9c342fe5e3717b97b3 /drivers | |
parent | 687a0ed337367be5267652af5f6dbcfc954b8732 (diff) | |
download | linux-aee83fbdbfa112c72fef3b91cd38ae93841d1075.tar.xz |
drm/exynos: Remove dev_err() on platform_get_irq() failure
platform_get_irq() will call dev_err() itself on failure,
so there is no need for the driver to also do this.
This is detected by coccinelle.
Signed-off-by: Tamseel Shams <m.shams@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_g2d.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index fcee33a43aca..03be31427181 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c +++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c @@ -1498,7 +1498,6 @@ static int g2d_probe(struct platform_device *pdev) g2d->irq = platform_get_irq(pdev, 0); if (g2d->irq < 0) { - dev_err(dev, "failed to get irq\n"); ret = g2d->irq; goto err_put_clk; } |