WSL2-Linux-Kernel/drivers/net/ethernet/8390
Minghao Chi (CGEL ZTE) 13b570f365 net:mcf8390: Use platform_get_irq() to get the interrupt
[ Upstream commit 2a760554dc ]

It is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ)
for requesting IRQ's resources any more, as they can be not ready yet in
case of DT-booting.

platform_get_irq() instead is a recommended way for getting IRQ even if
it was not retrieved earlier.

It also makes code simpler because we're getting "int" value right away
and no conversion from resource to int is required.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:22:47 +02:00
..
8390.c
8390.h
8390p.c
Kconfig make legacy ISA probe optional 2021-08-03 13:05:26 +01:00
Makefile
apne.c
ax88796.c ax88796: export ax_NS8390_init() hook 2021-08-03 13:05:25 +01:00
axnet_cs.c
etherh.c
hydra.c
lib8390.c
mac8390.c
mcf8390.c net:mcf8390: Use platform_get_irq() to get the interrupt 2022-04-08 14:22:47 +02:00
ne.c ne2000: fix unused function warning 2021-09-08 11:45:06 +01:00
ne2k-pci.c
pcnet_cs.c
smc-ultra.c ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
stnic.c
wd.c ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
xsurf100.c xsurf100: drop include of lib8390.c 2021-08-03 13:05:26 +01:00
zorro8390.c