diff options
author | 2025-04-14 16:51:06 +0100 | |
---|---|---|
committer | 2025-04-15 08:36:54 -0700 | |
commit | 96f8bf85d11acdd3ebc9a91f41cb18eac6f8e26d (patch) | |
tree | d74bb1991710b72b24177de1a8060372f9cb6454 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: ingenic: convert to stmmac_pltfr_pm_ops (diff) | |
download | wireguard-linux-96f8bf85d11acdd3ebc9a91f41cb18eac6f8e26d.tar.xz wireguard-linux-96f8bf85d11acdd3ebc9a91f41cb18eac6f8e26d.zip |
net: stmmac: ingenic: convert to devm_stmmac_pltfr_probe()
As Ingenic now uses the stmmac platform PM ops, convert it to use
devm_stmmac_pltfr_probe() which will call the plat_dat->init() method
before stmmac_drv_probe() and appropriately cleaning up via the
->exit() method, thus simplifying the code. Using the devm_*()
variant also allows removal of the explicit call to
stmmac_pltfr_remove().
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1u4M5S-000YGJ-9K@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions