diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-10-16 16:27:33 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-10-23 13:20:27 +0530 |
commit | c9dfadeee89d4c5d335969356c4e63e9b279d038 (patch) | |
tree | e47f14a90bbf9c2a113536e4536bfe23a231ed8f /drivers/phy/hisilicon/phy-hisi-inno-usb2.c | |
parent | 265938bb1bc8f45141f59a62ac295c53946c4da0 (diff) | |
download | lwn-c9dfadeee89d4c5d335969356c4e63e9b279d038.tar.gz lwn-c9dfadeee89d4c5d335969356c4e63e9b279d038.zip |
phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq
As platform_get_irq() now prints an error when the interrupt does not
exist, a scary warning may be printed for an optional interrupt:
phy_rcar_gen3_usb2 ee0a0200.usb-phy: IRQ index 0 not found
Fix this by calling platform_get_irq_optional() instead.
Fixes: 7723f4c5ecdb8d83 ("driver core: platform: Add an error message to platform_get_irq*()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/hisilicon/phy-hisi-inno-usb2.c')
0 files changed, 0 insertions, 0 deletions