net: stmmac: replace ioaddr with stmmac_priv for pcs_set_ane() method
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 18 Jun 2025 11:05:12 +0000 (12:05 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 22:11:25 +0000 (15:11 -0700)
commitc8e32755ba2b99efa38c8fdfa74522ca796139b5
tree3b020b5de947b85f2731ff400a391a0ee01ab07d
parent62deb67fc519ee3b394f094982851d1ff3992731
net: stmmac: replace ioaddr with stmmac_priv for pcs_set_ane() method

Pass the stmmac_priv structure into the pcs_set_ane() MAC method rather
than having callers dereferencing this structure for the IO address.

Tested-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> # sa8775p-ride-r3
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/E1uRqbQ-004djP-1l@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c