phy_package_leave(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_package_leave(9)

okay so this is a page from the Kernel API Manual, and the function we're stanning today is phy_package_leave β€” she's the one who leaves the group chat. no cap.


✨ NAME ✨

phy_package_leave β€” leave a common PHY group 🫢


🌸 SYNOPSIS 🌸

void phy_package_leave (struct phy_device *phydev );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the target phy_device struct. bestie, this is the PHY you're pulling out of the group πŸ’«

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: this function leaves a PHY group β€” specifically one that was created by phy_package_join. like, you joined the server, now you're dipping πŸ‘‹

and here's the part that's lowkey important: if this phydev happened to be the last user of the shared data between the group, then that data gets freed. last one out turns off the lights, fr fr. πŸ’€

it also resets the phydev->shared pointer to NULL. clean break. no leftover read receipts. ✨


πŸ’œ SEE ALSO πŸ’œ

like, literally the whole friend group of PHY package functions. go read them, iykyk πŸ‘‘


🧚 reminder bestie: this page lives in ./drivers/net/phy, and it's dated October 2026. slay, go free that shared data responsibly πŸ’–πŸŒˆπŸ“

phy_package_leave(9) β€” periodt. 🌟

πŸ“¦ where this page comes from