diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-14 18:51:01 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-15 18:36:54 +0300 |
| commit | debfcb3f58488e1ee8177a03bf9338ede936158f (patch) | |
| tree | 5d8578441e439c018f6696c92c4e99575d63eadc /include/linux | |
| parent | b2ee4451c1d42a736a94ee582c67c0ccdc05f715 (diff) | |
| download | linux-debfcb3f58488e1ee8177a03bf9338ede936158f.tar.xz | |
net: stmmac: ingenic: convert to stmmac_pltfr_pm_ops
Convert the Ingenic glue driver to use the generic stmmac platform
power management operations.
In order to do this, we need to make ingenic_mac_init() arguments
compatible with plat_dat->init() by adding a plat_dat member to struct
ingenic_mac. This allows the custom suspend/resume operations to be
removed, and the PM ops pointer replaced with stmmac_pltfr_pm_ops.
This will adds runtime PM and noirq suspend/resume ops to this driver.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1u4M5N-000YGD-5i@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
