devm_stmmac_pltfr_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_stmmac_pltfr_probe

okay so bestie, welcome to the Kernel API Manual β€” yes this is a real manual page, and yes it's about a kernel function, don't panic, we're gonna get through it together 🫢


✨ NAME ✨

devm_stmmac_pltfr_probe β€”

so bestie. the name section is literally just vibes and a dash rn 😭 the original page gives us the function name and then... nothing. a whole dash. a mystery. an empty description doing main character energy with zero lines. so that's what we're working with πŸ”₯ (no cap, that's genuinely all it says)


🌸 SYNOPSIS 🌸

int devm_stmmac_pltfr_probe (struct platform_device *pdev , struct
       plat_stmmacenet_data *plat , struct stmmac_resources *res );

she's an int, she takes three pointers, she's living her best life πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” pointer to the platform device. that's her little device bestie πŸ‘‘
  • plat β€” driver data platform structure. this is where the platform-y driver data lives ✨
  • res β€” stmmac resources. the resources, iconic as always 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• this is the Devres variant of stmmac_pltfr_probe.

and what that means for you, gorgeous, is that it allows users to skip calling stmmac_pltfr_remove on driver detach πŸ’… that's the whole point. devres handles the cleanup, you simply do not have to think about it. slay. periodt.


🌟 SEE ALSO 🌟

bestie this list is LONG and honestly? obsessed. go read these when you're done here 🧚

like, look at all those (9)s. a whole squad. a friend group. iykyk πŸ’œ


ngl the source path is ./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c (the footer truncates it to ./drivers/net/ethernet/stmicro...), it's dated October 2026, and the page is titled devm_stmmac_pltfr_probe(9) β€” so if you forget where you are, that's the receipt 🧾✨

and that's the page!! mwah πŸ’‹ go call devm_stmmac_pltfr_probe responsibly, bestie πŸ“πŸ’–

πŸ“¦ where this page comes from