Skip to content

Commit 5f1df70

Browse files
Tang Binthierryreding
authored andcommitted
drm/tegra: dc: Omit superfluous error message in tegra_dc_probe()
In the function tegra_dc_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here. Signed-off-by: Tang Bin <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 5c9b969 commit 5f1df70

File tree

1 file changed

+1
-3
lines changed
  • drivers/gpu/drm/tegra

1 file changed

+1
-3
lines changed

drivers/gpu/drm/tegra/dc.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,10 +2556,8 @@ static int tegra_dc_probe(struct platform_device *pdev)
25562556
return PTR_ERR(dc->regs);
25572557

25582558
dc->irq = platform_get_irq(pdev, 0);
2559-
if (dc->irq < 0) {
2560-
dev_err(&pdev->dev, "failed to get IRQ\n");
2559+
if (dc->irq < 0)
25612560
return -ENXIO;
2562-
}
25632561

25642562
err = tegra_dc_rgb_probe(dc);
25652563
if (err < 0 && err != -ENODEV) {

0 commit comments

Comments
 (0)