diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-14 12:06:25 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-15 18:36:19 +0300 |
| commit | b2ee4451c1d42a736a94ee582c67c0ccdc05f715 (patch) | |
| tree | 45b738931dd788c2d42c7f99d2c5238717a97b5f /include/linux | |
| parent | 9d9bc1a464028e279e72141ff1edef240bb01563 (diff) | |
| download | linux-b2ee4451c1d42a736a94ee582c67c0ccdc05f715.tar.xz | |
net: stmmac: imx: use stmmac_pltfr_probe()
Using stmmac_pltfr_probe() simplifies the probe function. This will not
only call plat_dat->init (imx_dwmac_init), but also plat_dat->exit
(imx_dwmac_exit) appropriately if stmmac_dvr_probe() fails. This
results in an overall simplification of the glue driver.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1u4Flp-000XlM-Tb@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
