component_master_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… component_master_del(9)

okay so this is from the Kernel API Manual bestie, and it's literally the cleanup queen of the component subsystem β€” the one you call when the aggregate driver era is over πŸ‘‘


✨ NAME ✨

component_master_del β€” unregister an aggregate driver 🫢


🌸 SYNOPSIS 🌸

void component_master_del (struct device *parent , const struct
       component_master_ops *ops );

πŸŽ€ ARGUMENTS πŸŽ€

  • parent β€” parent device of the aggregate driver πŸ’–
  • ops β€” callbacks for the aggregate driver ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this function unregisters an aggregate driver that was registered with component_master_add_with_match. Simple, clean, no cap.

And if necessary β€” like, if it has to happen β€” the aggregate driver is first disassembled by calling component_master_ops.unbind from ops. So it's not just "bye", it's "bye, but let me take the whole thing apart properly first" πŸ’… iconic behaviour honestly.

lowkey important: the teardown ordering is the whole point here. It unbinds first if needed, then unregisters. The manpage says "if necessary", so don't come for me about when it's necessary β€” that's the kernel's call, not mine πŸ™ˆ

🌈 SEE ALSO 🌈

like. read the whole component.c family, it's giving "found family" fr fr πŸ’œ


🫢 okay bye bestie, this page lives in ./drivers/base, the version vibe is October 2026, and the whole thing answers to the name component_master_del(9) β€” slay, go unregister something responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from