]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: don't pass ioaddr to fix_soc_reset() method
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 26 Jan 2026 12:33:14 +0000 (12:33 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 Jan 2026 01:26:27 +0000 (17:26 -0800)
commitd64f761dbfda3f4eb7e5c14c1336677de20d5d6f
treedf4c34952c2aa19df2cb7b34e7c6ed1c0ac9b8d1
parent3b721117fe150fc4d78628d78627f9b446930b44
net: stmmac: don't pass ioaddr to fix_soc_reset() method

As the stmmac_priv struct is passed to the fix_soc_reset() method which
has the ioaddr, there is no need to pass ioaddr separately. Pass just
the stmmac_priv struct. Fix up the glues that use it.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1vkLmM-00000005vE1-0nop@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c
drivers/net/ethernet/stmicro/stmmac/hwif.c
include/linux/stmmac.h