net: phylink: use linkmode_fill()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 15 Nov 2023 11:39:23 +0000 (11:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2023 23:45:04 +0000 (23:45 +0000)
commitba50a8d40258081325db15f5a86cbb301867a3ba
treea29a54a20ad8806db53c925d30c27ec027654998
parent96fa96e198f9707285003075fbbce7db6a485112
net: phylink: use linkmode_fill()

Use linkmode_fill() rather than open coding the bitmap operation.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c