usb: dwc3: Remove dev_err() on platform_get_irq() failure
authorHans de Goede <hdegoede@redhat.com>
Sat, 5 Oct 2019 21:04:49 +0000 (23:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2019 10:52:44 +0000 (12:52 +0200)
commitd819f6584c201b7797daa33f0cff7247be14f2a8
tree28bf16156edcd46de489c92d9b046b2b6d0364b5
parentf146b40ba1f0f689ca3cbd594a78b2424c459ddc
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>
drivers/usb/dwc3/drd.c
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/host.c