]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: stmmac: loongson: convert to suspend()/resume() methods
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 11 Aug 2025 18:51:04 +0000 (19:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Aug 2025 01:04:53 +0000 (18:04 -0700)
commit38772638d6d1989655f5a05b273dc62a026e0ef1
tree6daab31b2e95b50c426fc866fba12c3d8d3f5e47
parent062b428017332adf8cee09612db2ae0495b4eb4e
net: stmmac: loongson: convert to suspend()/resume() methods

Convert loongson to use the new suspend() and resume() methods rather
than implementing these in custom wrappers around the main driver's
suspend/resume methods. This allows this driver to use the stmmac
simple PM ops structure.

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