summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2020-04-05 11:01:49 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2020-07-20 15:16:06 +0200
commit408a85e31e3e5127c91e082c3544082ef1ba48d3 (patch)
tree8b8daa20aad092fdef31bc6721f767e666bed1a8 /drivers/gpu/drm/imx
parentgpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile (diff)
downloadlinux-408a85e31e3e5127c91e082c3544082ef1ba48d3.tar.xz
linux-408a85e31e3e5127c91e082c3544082ef1ba48d3.zip
drm/imx: imx-tve: Delete an error message in imx_tve_bind()
The function “platform_get_irq” can log an error already. Thus omit a redundant message for the exception handling in the calling function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx')
-rw-r--r--drivers/gpu/drm/imx/imx-tve.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c
index c5025307a9a7..813bb6156a68 100644
--- a/drivers/gpu/drm/imx/imx-tve.c
+++ b/drivers/gpu/drm/imx/imx-tve.c
@@ -591,10 +591,8 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data)
}
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(dev, "failed to get irq\n");
+ if (irq < 0)
return irq;
- }
ret = devm_request_threaded_irq(dev, irq, NULL,
imx_tve_irq_handler, IRQF_ONESHOT,