summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2023-09-16 15:58:27 +0800
committerDavid S. Miller <davem@davemloft.net>2023-09-18 12:44:36 +0100
commitd336a117b593e96559c309bb250f06b4fc22998f (patch)
tree078b1e9a4f6ad11d6555cb7681d945d33f8f7795 /drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
parentacf73ccff08e6a19b9937623d5eeed0e7a59a158 (diff)
net: stmmac: dwmac-visconti: 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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c')
0 files changed, 0 insertions, 0 deletions