[PATCHv4 net-next 0/8] ibm: emac: more cleanups
From: Rosen Penev
Date: Sat Oct 05 2024 - 22:06:28 EST
Tested on Cisco MX60W.
Added devm for the submodules and removed custom init/exit functions as
EPROBE_DEFER is handled now.
v2: fixed build errors. Also added extra commits to clean the driver up
further.
v3: Added tested message. Removed bad alloc_netdev_dummy commit.
v4: removed modules changes from patchset. Added fix for if MAC not
found.
Rosen Penev (8):
net: ibm: emac: use netif_receive_skb_list
net: ibm: emac: remove custom init/exit functions
net: ibm: emac: use module_platform_driver for modules
net: ibm: emac: use devm_platform_ioremap_resource
net: ibm: emac: use platform_get_irq
net: ibm: emac: use devm for mutex_init
net: ibm: emac: generate random MAC if not found
net: ibm: emac: use of_find_matching_node
drivers/net/ethernet/ibm/emac/core.c | 91 ++++++++-------------------
drivers/net/ethernet/ibm/emac/mal.c | 10 +--
drivers/net/ethernet/ibm/emac/mal.h | 4 --
drivers/net/ethernet/ibm/emac/rgmii.c | 10 +--
drivers/net/ethernet/ibm/emac/rgmii.h | 4 --
drivers/net/ethernet/ibm/emac/tah.c | 10 +--
drivers/net/ethernet/ibm/emac/tah.h | 4 --
drivers/net/ethernet/ibm/emac/zmii.c | 10 +--
drivers/net/ethernet/ibm/emac/zmii.h | 4 --
9 files changed, 30 insertions(+), 117 deletions(-)
--
2.46.2