stmmac_pltfr_remove(9)
π 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 π:
dwmac1000_validate_mcast_bins(9)dwmac1000_validate_ucast_entries(9)stmmac_axi_setup(9)stmmac_mtl_setup(9)stmmac_of_get_mdio(9)stmmac_mdio_setup(9)stmmac_of_get_mac_mode(9)stmmac_probe_config_dt(9)devm_stmmac_probe_config_dt(9)stmmac_pltfr_get_irq_array(9)stmmac_pltfr_init(9)stmmac_pltfr_exit(9)stmmac_pltfr_probe(9)devm_stmmac_pltfr_probe(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms