usb: host: ehci-tegra: Remove superfluous dev_err() message
authorTang Bin <tangbin@cmss.chinamobile.com>
Mon, 6 Apr 2020 05:55:30 +0000 (13:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 12:32:45 +0000 (14:32 +0200)
The platform_get_irq() can print error message,so remove the redundant
dev_err() here.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200406055530.10860-1-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-tegra.c

index 10d51da..e077b2c 100644 (file)
@@ -480,7 +480,6 @@ static int tegra_ehci_probe(struct platform_device *pdev)
 
        irq = platform_get_irq(pdev, 0);
        if (!irq) {
-               dev_err(&pdev->dev, "Failed to get IRQ\n");
                err = -ENODEV;
                goto cleanup_phy;
        }