net: dsa: remove phylink_validate() method
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 14 Nov 2022 17:07:30 +0000 (19:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 16 Nov 2022 04:34:27 +0000 (20:34 -0800)
commit53d04b9811107633f25be02a5d981a6070d09e6e
tree19eb89458e3073188daaa58d57a913ed6ba9cd52
parentde8586ed4311286a7fb17c3b0166076c1a548518
net: dsa: remove phylink_validate() method

As of now, no DSA driver uses a custom link mode validation procedure
anymore. So remove this DSA operation and let phylink determine what is
supported based on config->mac_capabilities (if provided by the driver).
Leave a comment why we left the code that we did, and that there is more
work to do.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dsa.h
net/dsa/port.c