net: stmmac: dwmac-generic: use stmmac_pltfr_probe()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 23 Jun 2023 10:04:12 +0000 (12:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Jun 2023 22:35:59 +0000 (15:35 -0700)
commit0a68a59493e043170be1a064558bae6a30fea39d
tree323fd46e0ef56685eff5c856f317993d6e533554
parent3d5bf75d76ea8c6bfcffd1b6aa76686d86f9ea34
net: stmmac: dwmac-generic: use stmmac_pltfr_probe()

Shrink the code and remove labels by using the new stmmac_pltfr_probe()
function.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20230623100417.93592-7-brgl@bgdev.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c