diff options
| author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2026-08-31 16:34:30 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-02 18:56:40 -0700 |
| commit | 2df76677c1c08f622cc577a49f0645a5976d7c91 (patch) | |
| tree | 8df7c2e79e44042fa6109afe5438b051fbc86ca8 /include/linux | |
| parent | 3383b50c1695f7a7f0895b235706a3f2acf4ab11 (diff) | |
net: phy: add phy_detach_internal() helper
For the upcoming MDIO bus notification enhancements the PHY detach path
needs to inform the bus about these actions. Until now phy_detach() is
used for the regular detach path as well as from the phy_attach_direct()
error paths So in the future there must be a clear indication if a
notification is needed (normal path) or not (cleanup path).
Carve out the phy_detach() code into a new helper phy_detach_internal()
and make phy_detach() a short stub that calls the new helper.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260831143439.2404484-5-markus.stockhausen@gmx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
