net: sfp: add mandatory attach/detach methods for sfp buses
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 May 2019 09:57:34 +0000 (10:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2019 19:37:46 +0000 (12:37 -0700)
commit320587e6eac960591077b90271f40bfad24d6155
tree98c4d0807d56a6ef1870c7bb2bfa52e5ade09fdf
parentcdea04c24616416f8239d86a1012d924fb6f0d30
net: sfp: add mandatory attach/detach methods for sfp buses

Add attach and detach methods for SFP buses, which will allow us to get
rid of the netdev storage in sfp-bus.

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