aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/dc.c
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2020-04-16 22:43:17 +0800
committerThierry Reding <treding@nvidia.com>2020-07-17 16:06:16 +0200
commit5f1df70f59257d6988712b4f8de51737fc1abd87 (patch)
treed48d36ce62a7b17ef19cab727072a6bf30c886f8 /drivers/gpu/drm/tegra/dc.c
parentdrm/tegra: gr2d: Add tiled PATBASE address register (diff)
downloadlinux-dev-5f1df70f59257d6988712b4f8de51737fc1abd87.tar.xz
linux-dev-5f1df70f59257d6988712b4f8de51737fc1abd87.zip
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 <tangbin@cmss.chinamobile.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dc.c')
-rw-r--r--drivers/gpu/drm/tegra/dc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
index 04d6848d19fc..dc835ae94f44 100644
--- a/drivers/gpu/drm/tegra/dc.c
+++ b/drivers/gpu/drm/tegra/dc.c
@@ -2556,10 +2556,8 @@ static int tegra_dc_probe(struct platform_device *pdev)
return PTR_ERR(dc->regs);
dc->irq = platform_get_irq(pdev, 0);
- if (dc->irq < 0) {
- dev_err(&pdev->dev, "failed to get IRQ\n");
+ if (dc->irq < 0)
return -ENXIO;
- }
err = tegra_dc_rgb_probe(dc);
if (err < 0 && err != -ENODEV) {