net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe()
authorJisheng Zhang <jszhang@kernel.org>
Sat, 16 Sep 2023 07:58:10 +0000 (15:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2023 11:44:34 +0000 (12:44 +0100)
commit14ec0fc582c5f49695ba02fc26c6280eff269899
tree6c5d231c72794a5b64eb6a2ca9eba1029ccb2059
parentd53b19d2a1a82a7b50a9f626cad21918c0e46cdf
net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe()

Use the devres variant of stmmac_pltfr_probe() and finally drop the
remove() hook.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c