net: sfp: pass the phy_device when disconnecting an sfp module's PHY
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Thu, 21 Dec 2023 18:00:35 +0000 (19:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jan 2024 18:38:56 +0000 (18:38 +0000)
commit9c5625f559ad6fe9f6f733c11475bf470e637d34
tree1e470f25c2084ab7add4f9a9878dcfa8e4107a6d
parent02018c544ef113e980a2349eba89003d6f399d22
net: sfp: pass the phy_device when disconnecting an sfp module's PHY

Pass the phy_device as a parameter to the sfp upstream .disconnect_phy
operation. This is preparatory work to help track phy devices across
a net_device's link.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
drivers/net/phy/phylink.c
drivers/net/phy/sfp-bus.c
include/linux/sfp.h