Skip to content

Commit d12919b

Browse files
Tan Zhongjunthierryreding
authored andcommitted
drm/tegra: Remove superfluous error messages around platform_get_irq()
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>
1 parent ecc583e commit d12919b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

drivers/gpu/drm/tegra/dpaux.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,8 @@ static int tegra_dpaux_probe(struct platform_device *pdev)
467467
return PTR_ERR(dpaux->regs);
468468

469469
dpaux->irq = platform_get_irq(pdev, 0);
470-
if (dpaux->irq < 0) {
471-
dev_err(&pdev->dev, "failed to get IRQ\n");
470+
if (dpaux->irq < 0)
472471
return -ENXIO;
473-
}
474472

475473
if (!pdev->dev.pm_domain) {
476474
dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux");

0 commit comments

Comments
 (0)