diff options
author | Yangtao Li <frank.li@vivo.com> | 2023-07-26 13:37:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-27 10:24:08 +0200 |
commit | ad089faf79e5ab949a301d60611842254060adb6 (patch) | |
tree | 575f0070c0399d7a20c7295c39470aa9dda60cff /drivers/usb/host | |
parent | usb: ohci-at91: Use devm_platform_get_and_ioremap_resource() (diff) | |
download | linux-ad089faf79e5ab949a301d60611842254060adb6.tar.xz linux-ad089faf79e5ab949a301d60611842254060adb6.zip |
usb: ohci-at91: Remove redundant msg at probe time
platform_get_irq() directly prints error information.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/20230726113816.888-4-frank.li@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ohci-at91.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index 7ed9a3bcea55..dc31a7fa7ca4 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -190,10 +190,8 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver, int irq; irq = platform_get_irq(pdev, 0); - if (irq < 0) { - dev_dbg(dev, "hcd probe: missing irq resource\n"); + if (irq < 0) return irq; - } hcd = usb_create_hcd(driver, dev, "at91"); if (!hcd) |