]> Gentwo Git Trees - linux/.git/commit
net: stmmac: mediatek: convert to resume() method
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 11 Aug 2025 18:51:24 +0000 (19:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Aug 2025 01:04:54 +0000 (18:04 -0700)
commitd6e1f2272960cdb5081e9318d6a04de478d80400
tree4237f29bcecde812e4fd61986f9847a14ee3435e
parentc7308b2f3d0d045005bc9d2110ac5d5085a4fe0c
net: stmmac: mediatek: convert to resume() method

Convert mediatek to use the resume() platform method rather than the
init() platform method as mediatek_dwmac_init() is only called from
the resume paths.

This will ensure that in a future commit, mediatek_dwmac_init() won't
be called when probing the main part of the stmmac driver.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1ulXcC-008grN-Hc@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c