Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Anson Huang <[email protected]> Acked-by: Fugang Duan <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information