OSDN Git Service

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)
commit2203cbf2c8b58a1e3bef98c47531d431d11639a0
tree8544a418bac77532ba981c965c76f11349847aa8
parent9370f2d05a2a150b0aa719a3070b26d478180df3
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