Skip to content

Commit

Permalink
drm/tegra: Remove superfluous error messages around platform_get_irq()
Browse files Browse the repository at this point in the history
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 <tanzhongjun@yulong.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Tan Zhongjun authored and Thierry Reding committed Jun 11, 2021
1 parent ecc583e commit d12919b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/gpu/drm/tegra/dpaux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d12919b

Please sign in to comment.