Thread (8 messages) 8 messages, 5 authors, 2025-11-21

Re: [PATCH net-next 1/3] net: stmmac: pass struct device to init()/exit() methods

From: Chen-Yu Tsai <hidden>
Date: 2025-11-19 14:43:51
Also in: linux-arm-kernel, linux-mips, linux-renesas-soc, linux-riscv, linux-rockchip, linux-sunxi

On Wed, Nov 19, 2025 at 6:04 PM Russell King (Oracle)
[off-list ref] wrote:
As struct plat_stmmacenet_data is not platform_device specific, pass
a struct device into the init() and exit() methods to allow them to
become independent of the underlying device.

Signed-off-by: Russell King (Oracle) <redacted>
---
 .../ethernet/stmicro/stmmac/dwmac-anarion.c   |  4 +--
 .../ethernet/stmicro/stmmac/dwmac-eic7700.c   |  4 +--
 .../ethernet/stmicro/stmmac/dwmac-loongson1.c | 12 ++++----
 .../stmicro/stmmac/dwmac-renesas-gbeth.c      |  4 +--
 .../net/ethernet/stmicro/stmmac/dwmac-s32.c   | 14 +++++-----
 .../ethernet/stmicro/stmmac/dwmac-socfpga.c   |  2 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sti.c   |  4 +--
 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 10 +++----
 .../net/ethernet/stmicro/stmmac/dwmac-sunxi.c |  4 +--
For sun8i / sunxi,

Acked-by: Chen-Yu Tsai <wens@kernel.org>
 .../net/ethernet/stmicro/stmmac/dwmac-thead.c |  2 +-
 .../ethernet/stmicro/stmmac/stmmac_platform.c | 28 ++++++++++---------
 include/linux/stmmac.h                        |  4 +--
 12 files changed, 47 insertions(+), 45 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help