projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
687a0ed
)
drm/exynos: Remove dev_err() on platform_get_irq() failure
author
Tamseel Shams
<m.shams@samsung.com>
Thu, 21 May 2020 14:22:10 +0000
(19:52 +0530)
committer
Inki Dae
<inki.dae@samsung.com>
Mon, 29 Jun 2020 00:38:41 +0000
(09:38 +0900)
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>
drivers/gpu/drm/exynos/exynos_drm_g2d.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index fcee33a43aca3ee45a2c9d2584b551dd507c1cd1..03be314271811001c58683d02160233fba716b4c 100644
(file)
--- 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;
}