diff options
author | 2025-04-15 11:15:53 +0100 | |
---|---|---|
committer | 2025-04-16 18:25:16 -0700 | |
commit | 4cc8b57753ef30650a5a326df0074d25f342aa84 (patch) | |
tree | a54d76713c3c76ea667a5a322570145d53ae9b37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: intel: remove unnecessary setting max_speed (diff) | |
download | wireguard-linux-4cc8b57753ef30650a5a326df0074d25f342aa84.tar.xz wireguard-linux-4cc8b57753ef30650a5a326df0074d25f342aa84.zip |
net: stmmac: sun8i: use stmmac_pltfr_probe()
Using stmmac_pltfr_probe() simplifies the probe function. This will not
only call plat_dat->init (sun8i_dwmac_init), but also plat_dat->exit
(sun8i_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>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Link: https://patch.msgid.link/E1u4dKb-000dV7-3B@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