[PATCH net-next 00/11] net: stmmac: clean up plat_dat allocation/initialisation
"Russell King (Oracle)" <[email protected]>
| Newsgroups | dev.linux.lists.sophgo,org.infradead.lists.linux-arm-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
This series cleans up the plat_dat allocation and initialisation, moving common themes into the allocator. This results in a nice saving: drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 43 +--------------- .../net/ethernet/stmicro/stmmac/dwmac-loongson.c | 22 +------- drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c | 1 - drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 + drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 34 ++++++++++++ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 39 +------------- .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 60 ++++------------------ 7 files changed, 53 insertions(+), 148 deletions(-) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!