diff options
author | 2025-04-15 13:58:10 +0100 | |
---|---|---|
committer | 2025-04-17 18:41:40 -0700 | |
commit | 69b3e38e2fb58a3d557d9e02c107d60143c8b49c (patch) | |
tree | 7ec3a25af95b2b6eb3b85c46d5c66c6b8eb8a895 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: sunxi: use stmmac_pltfr_probe() (diff) | |
download | wireguard-linux-69b3e38e2fb58a3d557d9e02c107d60143c8b49c.tar.xz wireguard-linux-69b3e38e2fb58a3d557d9e02c107d60143c8b49c.zip |
net: stmmac: sunxi: use devm_stmmac_pltfr_probe()
Using devm_stmmac_pltfr_probe() simplifies the probe function. This
will not only call plat_dat->init (sun7i_dwmac_init), but also
plat_dat->exit (sun7i_dwmac_exit) appropriately if stmmac_dvr_probe()
fails. This results in an overall simplification of the glue driver.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1u4fre-000nMr-FT@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