component_del(9)
π component_del(9) β the Kernel API Manual, but make it a group chat
ok so like. bestie. you're in the Kernel API Manual and this page is component_del(9) and it's the undo button for component_add. that's it, that's the vibe. π
β¨ NAME β¨
component_del β unregister a component. literally just: you added a component, now you're removing it. it's giving "we're so back" in reverse. π¦
β¨ SYNOPSIS β¨
void component_del (struct device *dev , const struct component_ops *ops
);
yes queen, that's the whole signature. void return, which means it does not hand you a status code back. no notes. π
β¨ ARGUMENTS β¨
devβ the component device. (the device one, not the ops one, keep up π«Ά)opsβ the component callbacks. the ops. the whole personality. β¨
β¨ DESCRIPTION β¨
so what this does: it unregisters a component that you previously added with component_add. simple. clean. iconic.
but here's the part where you need to sit down β if that component happens to be bound into an aggregate driver, then calling this will force the entire aggregate driver, including all of its components, to be unbound. π₯
the way that one component_del can take down the whole squad... main character energy fr fr. so double check before you yeet it, bestie. π
β¨ SEE ALSO β¨
the extended universe, no cap π:
- Kernel file
./drivers/base/component.c overview(9)component_compare_of(9)component_release_of(9)component_compare_dev(9)component_compare_dev_name(9)component_match_add_release(9)component_match_add_typed(9)component_master_add_with_match(9)component_master_del(9)component_unbind_all(9)component_bind_all(9)component_add_typed(9)component_add(9)
k bye ily, this page came to you from ./drivers/base, dated October 2026 β stay hydrated, unbind responsibly, and remember: component_del(9) ate and left no crumbs π π
π¦ 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