net: phylink: rejig link state tracking
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Jul 2020 11:03:50 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 22:46:50 +0000 (15:46 -0700)
commitb06e5cac213cffbbf642d7e46e06719e02c75a4b
treeec2a082e17ce71c834ef9950f9164ab925b25ccd
parent1ceb7ee7a6e7a8195fd1fbc3c7d554305bc26607
net: phylink: rejig link state tracking

Rejig the link state tracking, so that we can use the current state
in a future patch.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c