]> Git Repo - linux.git/commitdiff
drm/tegra: Remove superfluous error messages around platform_get_irq()
authorTan Zhongjun <[email protected]>
Thu, 10 Jun 2021 06:39:55 +0000 (14:39 +0800)
committerThierry Reding <[email protected]>
Fri, 11 Jun 2021 16:48:33 +0000 (18:48 +0200)
The platform_get_irq() prints error message telling that interrupt is
missing,hence there is no need to duplicated that message in the
drivers.

Signed-off-by: Tan Zhongjun <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
drivers/gpu/drm/tegra/dpaux.c

index ea56c6ec25e4e5367eb7e7a9c21d33fe212fcda3..0cbaececc18ac0b54fd7ee4f5151538d4da0df66 100644 (file)
@@ -467,10 +467,8 @@ static int tegra_dpaux_probe(struct platform_device *pdev)
                return PTR_ERR(dpaux->regs);
 
        dpaux->irq = platform_get_irq(pdev, 0);
-       if (dpaux->irq < 0) {
-               dev_err(&pdev->dev, "failed to get IRQ\n");
+       if (dpaux->irq < 0)
                return -ENXIO;
-       }
 
        if (!pdev->dev.pm_domain) {
                dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux");
This page took 0.055621 seconds and 4 git commands to generate.