]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: stmmac: dwmac-generic: use stmmac_pltfr_init()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 23 Jun 2023 10:04:08 +0000 (12:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Jun 2023 22:35:59 +0000 (15:35 -0700)
commit4450e7d4231af63027009967b01c8e258966801c
treea4eb8e01f737b8507e0607becbd94eafdbead02d
parent97117eb51ec8e9c397a0baa0b9d62acb51250a83
net: stmmac: dwmac-generic: use stmmac_pltfr_init()

Shrink the code in dwmac-generic by using the new stmmac_pltfr_init()
helper.

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