]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: phylink, dsa: eliminate phylink_fixed_state_cb()
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 23 Apr 2020 16:02:56 +0000 (17:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Apr 2020 23:45:37 +0000 (16:45 -0700)
commit5c05c1dbb177293636a3f5ea4caa872dfcf50ccd
tree941287bfc44a1b19204b847bea98704f523d32fc
parent6861d6d9cf36eac894ad235e75b3cf8bc0590f62
net: phylink, dsa: eliminate phylink_fixed_state_cb()

Move the callback into the phylink_config structure, rather than
providing a callback to set this up.

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