]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: stmmac: mdio: move stmmac_mdio_format_addr() into read/write
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 4 Sep 2025 12:11:15 +0000 (13:11 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Sep 2025 01:12:02 +0000 (18:12 -0700)
commit6cb3d67ad624de8c4ef2844386d7e37ccb9042b9
tree4d6172c458ae4802b9e6fdf4f1a23b54bc241abe
parent6717746f33abcd12a64f4cf609af19acb3e529ba
net: stmmac: mdio: move stmmac_mdio_format_addr() into read/write

Move stmmac_mdio_format_addr() into stmmac_mdio_read() and
stmmac_mdio_write().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Mohd Ayaan Anwar <quic_mohdayaa@quicinc.com>
Link: https://patch.msgid.link/E1uu8o7-00000001vom-1pN8@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c