usbhs_omap_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… usbhs_omap_remove(9) β€” the Kernel API Manual, bestie ✨

okay so welcome to the glow-down era 🫢 this one lives in the Kernel API Manual, section 9, and it's the cleanup bestie to a probe function. literally the "ok we're done here, pack it up" of the OMAP USB host world πŸ’€


πŸŽ€ NAME πŸŽ€

usbhs_omap_remove β€” shutdown processing for UHH & TLL HCDs ✨

like. it does the teardown thing. for UHH. and for TLL HCDs. both. periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void usbhs_omap_remove (struct platform_device *pdev );

no return value, no drama, just vibes and a void 😌


🌸 ARGUMENTS 🌸

  • pdev β€” the USB Host Controller being removed πŸ‘‹ like, this is the one getting un-alived from the driver's perspective. it's the struct platform_device * and it's the main character of this whole function ngl πŸ’–

⭐ DESCRIPTION ⭐

Reverses the effect of usbhs_omap_probe. πŸ”

that's it. that's the whole thing. it's the undo button. the ctrl+z. the "never mind bestie" of probe 🧚 the way that it just walks backwards through everything probe set up β€” iconic, honestly πŸ‘‘

fr fr though, this is teardown code, so treat it with the respect it deserves. it's undoing live hardware setup, not deleting a tweet πŸ™ˆ

🌈 SEE ALSO 🌈

  • the kernel file ./drivers/mfd/omap-usb-host.c πŸ‘€ go read the source, iykyk
  • usbhs_omap_probe(9) β€” its literal other half, the setup to this shutdown, the couple that slays together 🫢

and that's the page!! πŸŽ€ source: ./drivers/mfd ✨ dated October 2026 ⭐ love that for us, no cap πŸ’œ byeee πŸ¦‹

πŸ“¦ where this page comes from