]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: stmmac: don't warn about missing optional wakeup IRQ
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Mon, 24 Feb 2020 17:29:55 +0000 (18:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 23:38:46 +0000 (15:38 -0800)
commitd87ab44a68a69c83028bb95d4c7ad13fa7e96ffb
tree0b252e86b7fec99653764087621b141b76eba78c
parent07cc79efb1e53967444766f9e3abf9f0af362b93
net: ethernet: stmmac: don't warn about missing optional wakeup IRQ

The "stm32_pwr_wakeup" is optional per the binding and the driver
handles its absence gracefully. Request it with
platform_get_irq_byname_optional, so its absence doesn't needlessly
clutter the log.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c