summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/drd.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-10-06 00:04:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-07 13:52:44 +0300
commitd819f6584c201b7797daa33f0cff7247be14f2a8 (patch)
tree28bf16156edcd46de489c92d9b046b2b6d0364b5 /drivers/usb/dwc3/drd.c
parentf146b40ba1f0f689ca3cbd594a78b2424c459ddc (diff)
downloadlinux-d819f6584c201b7797daa33f0cff7247be14f2a8.tar.xz
usb: dwc3: Remove dev_err() on platform_get_irq() failure
Since commit 7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()"), platform_get_irq() will call dev_err() itself on failure, so there is no need for the driver to also do this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Link: https://lore.kernel.org/r/20191005210449.3926-4-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3/drd.c')
-rw-r--r--drivers/usb/dwc3/drd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/drd.c b/drivers/usb/dwc3/drd.c
index b1f76628b313..c946d64142ad 100644
--- a/drivers/usb/dwc3/drd.c
+++ b/drivers/usb/dwc3/drd.c
@@ -157,9 +157,6 @@ static int dwc3_otg_get_irq(struct dwc3 *dwc)
if (irq > 0)
goto out;
- if (irq != -EPROBE_DEFER)
- dev_err(dwc->dev, "missing OTG IRQ\n");
-
if (!irq)
irq = -EINVAL;