ufshcd_pltfrm_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the Kernel API Manual (section 9, iykyk) β€” today's main character is ufshcd_pltfrm_remove, and her whole job is literally just Remove ufshcd platform. that's it. that's the gig. she shows up, she removes, she leaves. iconic behavior honestly πŸŽ€


✨ SYNOPSIS ✨

void ufshcd_pltfrm_remove (struct platform_device *pdev );

no cap, that's the entire signature. returns nothing (void β€” she gives you no feedback, she just does it), takes one pointer, and dips. lowkey the most unbothered function in the whole file πŸ¦‹


🌸 ARGUMENTS 🌸

  • pdev β€” pointer to Platform device handle. yeah. that's the whole description. it's a pointer, it points at your platform device handle, and you hand it over so she knows which platform to remove. she's not picky, she's not complicated, she's just holding a pointer 🫢

πŸ”₯ SEE ALSO πŸ”₯

the lore runs deep, so if you wanna go read the source of truth (and honestly, mood):

  • Kernel file ./drivers/ufs/host/ufshcd-pltfrm.c β€” the mothership πŸ’–

and her whole friend group, fr fr:

like okay, ufshcd_pltfrm_init is literally her counterpart β€” one builds the platform up, the other (that's her, that's the girl of the hour πŸ‘‘) tears it down. balance. symmetry. ate. ⭐


bestie reminder: this is the remove girlie. don't go looking for setup logic here, she's strictly the cleanup era. πŸ’€

so yeah, that's the whole page β€” short, sweet, and to the point, kinda giving minimalist queen 🌈

made with love in ./drivers/ufs/host, dated October 2026, and yeah the page name is ufshcd_pltfrm_remove(9) in case you forgot already πŸ™ˆ β€” mwah, go read the kernel source, ily, bye πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from