diff options
| author | Russell King (Oracle) <[email protected]> | 2025-04-15 10:15:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-17 01:25:16 +0000 |
| commit | 4cc8b57753ef30650a5a326df0074d25f342aa84 (patch) | |
| tree | a54d76713c3c76ea667a5a322570145d53ae9b37 /net/unix/af_unix.c | |
| parent | net: stmmac: intel: remove unnecessary setting max_speed (diff) | |
| download | kernel-4cc8b57753ef30650a5a326df0074d25f342aa84.tar.gz kernel-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) <[email protected]>
Reviewed-by: Maxime Chevallier <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Tested-by: Corentin Labbe <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
