Skip to content

Commit 408a85e

Browse files
elfringpH5
authored andcommitted
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 <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
1 parent dd81d82 commit 408a85e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/imx/imx-tve.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,8 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data)
591591
}
592592

593593
irq = platform_get_irq(pdev, 0);
594-
if (irq < 0) {
595-
dev_err(dev, "failed to get irq\n");
594+
if (irq < 0)
596595
return irq;
597-
}
598596

599597
ret = devm_request_threaded_irq(dev, irq, NULL,
600598
imx_tve_irq_handler, IRQF_ONESHOT,

0 commit comments

Comments
 (0)