]> git.baikalelectronics.ru Git - kernel.git/commit
net: sparx5: use phylink_generic_validate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 16 Nov 2021 10:02:11 +0000 (10:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 11:21:42 +0000 (11:21 +0000)
commit0238d0012c76e0e4badddbb3907515f3e16e8deb
treec98fc12a145ff60e0fdfa8d11fd852f06bc52d96
parent7c41be71b750a0b06d5d42ac191a4f6a5405317f
net: sparx5: use phylink_generic_validate()

Sparx5 has no special behaviour in its validation implementation, so can
be switched to phylink_generic_validate().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c