]> git.baikalelectronics.ru Git - kernel.git/commit
net: sfp: move fwnode parsing into sfp-bus layer
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 15 Oct 2019 10:38:39 +0000 (11:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Oct 2019 18:31:59 +0000 (14:31 -0400)
commit283837fa15ba3c046370ee6831243deaea6c8366
tree8544a418bac77532ba981c965c76f11349847aa8
parentcf0a0189422904e8e8e3546324192b35792cd1be
net: sfp: move fwnode parsing into sfp-bus layer

Rather than parsing the sfp firmware node in phylink, parse it in the
sfp-bus code, so we can re-use this code for PHYs without having to
duplicate the parsing.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
drivers/net/phy/sfp-bus.c
include/linux/sfp.h