Re: [PATCH 3/3] usb: dwc3: Remove dev_err() on platform_get_irq() failure

From: Felipe Balbi
Date: Mon Oct 07 2019 - 01:39:14 EST



Hi,

Hans de Goede <hdegoede@xxxxxxxxxx> writes:

> 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@xxxxxxxxxx>

Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>

--
balbi