aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2023-09-16 15:58:28 +0800
committerDavid S. Miller <davem@davemloft.net>2023-09-18 12:44:36 +0100
commit2c9fc838067b02cb3e6057fef5cd7cf1c04a95aa (patch)
treeda9199acae649f78ae811ab6c1a1ea49e08a43a0 /drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
parentnet: stmmac: dwmac-visconti: use devm_stmmac_probe_config_dt() (diff)
downloadlinux-2c9fc838067b02cb3e6057fef5cd7cf1c04a95aa.tar.xz
linux-2c9fc838067b02cb3e6057fef5cd7cf1c04a95aa.zip
net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove
Now, all users of the old stmmac_pltfr_remove() are converted to the devres helper, it's time to rename stmmac_pltfr_remove_no_dt() back to stmmac_pltfr_remove() and remove the old stmmac_pltfr_remove(). 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-sun8i.c')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
index 63a7e5e53d7b..1c702d0b2d29 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
@@ -1312,7 +1312,7 @@ static void sun8i_dwmac_remove(struct platform_device *pdev)
clk_put(gmac->ephy_clk);
}
- stmmac_pltfr_remove_no_dt(pdev);
+ stmmac_pltfr_remove(pdev);
sun8i_dwmac_unset_syscon(gmac);
}