net: phylink: use more linkmode_*
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 15 Oct 2019 10:28:46 +0000 (11:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Oct 2019 03:40:06 +0000 (20:40 -0700)
commit554032cdfbf4491f38241a3f6b27459408d90df3
treec3e77da219f5f4f5e6614499b49be83e00c83c15
parent4980b2c4fe55b9244990ae257d1fb659c6eb5cd7
net: phylink: use more linkmode_*

Use more linkmode_* helpers rather than open-coding the bitmap
operations.

Signed-off-by: Russell King <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
include/linux/linkmode.h