]> git.baikalelectronics.ru Git - 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)
commitf6309df082e7ebfc5b0cff244f753615ecec8137
tree941287bfc44a1b19204b847bea98704f523d32fc
parentb330f9032edd1dc8fb4a1fd7962a428b0f7e6e2a
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