Skip to content
Commit b86bcb29 authored by Anson Huang's avatar Anson Huang Committed by David S. Miller
Browse files

net: fec_ptp: Use platform_get_irq_xxx_optional() to avoid error message



Use platform_get_irq_byname_optional() and platform_get_irq_optional()
instead of platform_get_irq_byname() and platform_get_irq() for optional
IRQs to avoid below error message during probe:

[    0.795803] fec 30be0000.ethernet: IRQ pps not found
[    0.800787] fec 30be0000.ethernet: IRQ index 3 not found

Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Acked-by: default avatarFugang Duan <fugang.duan@nxp.com>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3b56be21
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment