stmmac_pltfr_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_pltfr_remove πŸ’…

okay so bestie, this is a page from the Kernel API Manual β€” yes, the actual kernel docs, and yes, we're gonna make it cute. this one's about stmmac_pltfr_remove, and it's genuinely so straightforward it's giving "one-job icon" energy πŸŽ€


✨ NAME ✨

stmmac_pltfr_remove β€” literally the function that takes out what stmmac_pltfr_probe put in. that's it. that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

void stmmac_pltfr_remove (struct platform_device *pdev );

no cap, that's the signature. void return, one arg, in and out. she's efficient πŸ’…


🫢 ARGUMENTS 🫢

  • pdev β€” pointer to the platform device. that's the one and only thing you hand her πŸŽ€

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: this function undoes the effects of stmmac_pltfr_probe by removing the driver and calling the platform's exit callback. that's the whole bit. probe comes in and sets stuff up, remove comes in and politely tears it all back down. symmetry, we love to see it ✨

it's giving "cleanup era" 🧹 moth to the old setup, basically. periodt.


πŸ”₯ SEE ALSO πŸ”₯

the kernel file that lives at:

./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

and the whole friend group of related functions, all of them absolute icons in their own right πŸ‘‘:

like, read them, they're all in the same friend group, iykyk πŸ’œ


🫢 tiny reminder bestie: this page is from ./drivers/net/ethernet/stmicro... and it's dated October 2026 β€” that's the source and version vibe, not me being mysterious, okay? 😭

anyway that's the whole page. no notes. she ate and left no crumbs πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from