dsa: lan9303: Migrate to PHYLINK
authorJerry Ray <jerry.ray@microchip.com>
Tue, 17 Jan 2023 20:57:02 +0000 (14:57 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2023 08:53:13 +0000 (08:53 +0000)
commit332bc552a402c9a319a87f0ee114db4a03a3c887
treeb61717ed79d31d695d1ba030677206be57a5d8c0
parent56e23d91bcfda607f928105b5c403a4bed415743
dsa: lan9303: Migrate 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
phylink_mac_link_up api.

Removes:
.adjust_link
Adds:
.phylink_get_caps
.phylink_mac_link_up

Signed-off-by: Jerry Ray <jerry.ray@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c