]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: imx: use ->set_phy_intf_sel()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 3 Nov 2025 11:50:46 +0000 (11:50 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 00:21:26 +0000 (16:21 -0800)
commiteaca1a4dc51e5e4979e45a4ad72a1c2a88a80a72
tree296c2ee5a82986da8f3ad8ffe5c79a0e9fd76ff2
parent38cd4e84b369c11680966fdea129e11dbb28a6ec
net: stmmac: imx: use ->set_phy_intf_sel()

Rather than placing the phy_intf_sel() setup in the ->init() method,
move it to the new ->set_phy_intf_sel() method.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vFt5C-0000000ChpR-2kAB@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c