diff options
author | Tamseel Shams <[email protected]> | 2020-05-21 19:52:10 +0530 |
---|---|---|
committer | Inki Dae <[email protected]> | 2020-06-29 09:38:41 +0900 |
commit | aee83fbdbfa112c72fef3b91cd38ae93841d1075 (patch) | |
tree | b548dc8ff1b46ccc428f8c9c342fe5e3717b97b3 | |
parent | 687a0ed337367be5267652af5f6dbcfc954b8732 (diff) |
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 <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
-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; } |