devm_extcon...notifier_all(9)
π devm_extcon...notifier_all(9) π
the Kernel API Manual, bestie edition π
okay so real talk, this page lives in the Kernel API Manual and it's about one very specific lil cleanup function. she's not flashy but she's literally essential, iykyk β¨
β¨ NAME β¨
devm_extcon_unregister_notifier_all β that's her, that's the whole name, no extra subtitle, she said "my name is enough" πββοΈ
π¦ SYNOPSIS π¦
void devm_extcon_unregister_notifier_all (struct device *dev , struct
extcon_dev *edev , struct notifier_block *nb );
she returns void (so like, nothing comes back, no gifts, no notes π) and she takes three args. periodt.
πΈ ARGUMENTS πΈ
devβ the device that owns the extcon device being created. like, the parent energy, the one holding the aux cord πedevβ the extcon device itself. the main character, honestly πnbβ a notifier block to be registered. yes bestie, that's literally what the page says, don't come for me π
π DESCRIPTION π
- Resource-managed
extcon_unregister_notifier_all
that's it, that's the description. one (1) bullet. she's lowkey minimalist and I respect it π«Ά the "resource-managed" part is doing heavy lifting here β the devm machinery handles the cleanup for you, no cap β
π₯ SEE ALSO π₯
- Kernel file
./drivers/extcon/devres.c devm_extcon_dev_allocate(9)devm_extcon_dev_free(9)devm_extcon_dev_register(9)devm_extcon_dev_unregister(9)devm_extcon_register_notifier(9)devm_extcon_unregister_notifier(9)devm_extcon_register_notifier_all(9)
the whole extcon devres friend group honestly, go say hi to all of them π
ngl the nb description says "to be registered" on an unregister page β that's what the original says, so I'm passing it straight to you, no edits, character for character πβ¨
mwah, that's the page! π
this one comes from the ./drivers/extcon corner of the kernel, dated October 2026, and it goes by devm_extcon...notifier_all(9) β the title that got cut off in the corner but lives in our hearts forever ππ¦π
π¦ 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