ufshcd_pltfrm_remove(9)
π 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:
ufshcd_parse_regulator_info(9)ufshcd_parse_tx_eq_settings_for_gear(9)ufshcd_parse_clock_min_max_freq(9)ufshcd_negotiate_pwr_params(9)ufshcd_parse_gear_limits(9)ufshcd_pltfrm_init(9)
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
- 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