net: dsa: realtek: convert to phylink_generic_validate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 2 Feb 2022 16:29:25 +0000 (16:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Feb 2022 10:12:53 +0000 (10:12 +0000)
commit6ff6064605e96db40c7e95c4924518028cd827bf
treec64f3a226e305d093f624d14005a57e8e857c0ce
parenteace555b4c346ec73d555f1cefb172c36e7bc815
net: dsa: realtek: convert to phylink_generic_validate()

Populate the supported interfaces and MAC capabilities for the Realtek
rtl8365 DSA switch and remove the old validate implementation to allow
DSA to use phylink_generic_validate() for this switch driver.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/realtek/rtl8365mb.c