phylink: convert to fwnode
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Dec 2017 10:25:09 +0000 (10:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 16:16:19 +0000 (11:16 -0500)
commit8fa7b9b6af252cae46dc3466341873434316d34a
tree8d995f393a21bc88144ca6fd40b443641a557c41
parentc19bb00070dd15b386fe22e7bd072e60779df050
phylink: convert to fwnode

Convert phylink to fwnode, switching phylink_create() from taking a
device_node to taking a fwnode_handle. This will allow other firmware
systems to take advantage of sfp/phylink support.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
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