[PATCH net-next 3/9] net: stmmac: platform: legacy hooks for suspend()/resume() methods

Maxime Chevallier maxime.chevallier at bootlin.com
Tue Aug 12 00:54:40 PDT 2025


On Mon, 11 Aug 2025 19:50:53 +0100
"Russell King (Oracle)" <rmk+kernel at armlinux.org.uk> wrote:

> Add legacy hooks for the suspend() and resume() methods to forward
> these calls to the init() and exit() methods when the platform code
> hasn't populated the two former methods. This allows us to get rid
> of stmmac_pltfr_suspend() and stmmac_pltfr_resume().
> 
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Reviewed-by: Maxime Chevallier <maxime.chevallier at bootlin.com>

Maxime



More information about the linux-arm-kernel mailing list