net: dsa: vsc73xx: convert to PHYLINK
authorPawel Dembicki <paweldembicki@gmail.com>
Wed, 17 Apr 2024 20:50:45 +0000 (22:50 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 22 Apr 2024 21:21:30 +0000 (14:21 -0700)
commit21fc3416ea11ee1ce1b0eac56ed7d79d976a0eec
tree30369f1a616e082cdf7ec37300bc45ba2d9ea309
parenteb7e33d01db3aec128590391b2397384bab406b6
net: dsa: vsc73xx: convert to PHYLINK

This patch replaces the adjust_link api with the phylink apis that provide
equivalent functionality.

The remaining functionality from the adjust_link is now covered in the
mac_link_* and mac_config from phylink_mac_ops structure.

Removes:
.adjust_link
Adds phylink_mac_ops structure:
.mac_config
.mac_link_up
.mac_link_down

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://lore.kernel.org/r/20240417205048.3542839-3-paweldembicki@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/vitesse-vsc73xx-core.c