platform_unregister_drivers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ platform_unregister_drivers β€” Kernel API Manual πŸŽ€

hey bestie πŸ’– welcome to the platform_unregister_drivers(9) page. yes, it’s a Kernel API Manual moment, and yes, we’re gonna keep every detail because that’s the whole vibe. periodt.


🌸 NAME 🌸

platform_unregister_drivers β€” unregister an array of platform drivers. literally the cleanup-era function, no cap ✨


✨ SYNOPSIS ✨

okay so here’s the signature, exactly as it shows up β€” no edits, bestie:

void platform_unregister_drivers (struct platform_driver * const
       *drivers , unsigned int count );

πŸ’… ARGUMENTS πŸ’…

  • drivers β€” an array of drivers to unregister. like, the whole lineup 🫢
  • count β€” the number of drivers to unregister. the actual number, not a vibe check 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

Unregisters platform drivers specified by an array. This is typically used to complement an earlier call to platform_register_drivers.

Drivers are unregistered in the reverse order in which they were registered. yes, reverse order β€” it’s giving backtracking cleanup energy, and honestly it ate πŸ’…πŸ”₯


🌈 SEE ALSO 🌈

Kernel file ./drivers/base/platform.c is where this lives, iykyk. also go say hi to the whole squad:


okay that’s the whole page, mwah πŸ’– β€” this came from source/version ./drivers/base, dated October 2026, for platform_unregister_drivers(9). bye bestie 🫢✨

πŸ“¦ where this page comes from