bus_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

bus_unregister β€” remove a bus from the system, bestie. This is the bus_unregister(9) page from the Kernel API Manual, and we are gonna get you fluent in it. No cap. πŸ’–

✨ SYNOPSIS ✨

void bus_unregister (const struct bus_type *bus );

🌸 ARGUMENTS 🌸

  • bus β€” the bus. That's the argument. Just the bus. 🫢

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea: bus_unregister unregisters the child subsystems and the bus itself. Finally, we call bus_put to release the refcount. That's the whole sequence, and it's lowkey iconic. 😭✨

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file ./drivers/base/bus.c is the home base, and the related crew is:


xoxo bestie, from the ./drivers/base source, October 2026, on the bus_unregister(9) page πŸ’–βœ¨

πŸ“¦ where this page comes from