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>
This commit is contained in:
committed by
Thierry Reding
parent
ecc583e22d
commit
d12919bb5d
@@ -467,10 +467,8 @@ static int tegra_dpaux_probe(struct platform_device *pdev)
|
|||||||
return PTR_ERR(dpaux->regs);
|
return PTR_ERR(dpaux->regs);
|
||||||
|
|
||||||
dpaux->irq = platform_get_irq(pdev, 0);
|
dpaux->irq = platform_get_irq(pdev, 0);
|
||||||
if (dpaux->irq < 0) {
|
if (dpaux->irq < 0)
|
||||||
dev_err(&pdev->dev, "failed to get IRQ\n");
|
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
}
|
|
||||||
|
|
||||||
if (!pdev->dev.pm_domain) {
|
if (!pdev->dev.pm_domain) {
|
||||||
dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux");
|
dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux");
|
||||||
|
|||||||
Reference in New Issue
Block a user