Commit 5f1df70f authored by Tang Bin's avatar Tang Bin Committed by Thierry Reding

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: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 5c9b969f
...@@ -2556,10 +2556,8 @@ static int tegra_dc_probe(struct platform_device *pdev) ...@@ -2556,10 +2556,8 @@ static int tegra_dc_probe(struct platform_device *pdev)
return PTR_ERR(dc->regs); return PTR_ERR(dc->regs);
dc->irq = platform_get_irq(pdev, 0); dc->irq = platform_get_irq(pdev, 0);
if (dc->irq < 0) { if (dc->irq < 0)
dev_err(&pdev->dev, "failed to get IRQ\n");
return -ENXIO; return -ENXIO;
}
err = tegra_dc_rgb_probe(dc); err = tegra_dc_rgb_probe(dc);
if (err < 0 && err != -ENODEV) { if (err < 0 && err != -ENODEV) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment