Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: stmmac: dwmac-sun8i: use devm_stmmac_probe_config_dt()
Simplify the driver's probe() function by using the devres variant of stmmac_probe_config_dt(). The calling of stmmac_pltfr_remove() now needs to be switched to stmmac_pltfr_remove_no_dt(). Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information