comedi_pcmc...r_unregister(9)
π comedi_pcmcia_driver_unregister
okay bestie, welcome to the Kernel API Manual β yes, the header up there is literally truncated to comedi_pcmc...r_unregister(9) because someone let the terminal eat the middle of it, but the full glow-up name is comedi_pcmcia_driver_unregister and she is THE moment β¨
πΈ SYNOPSIS
void comedi_pcmcia_driver_unregister (struct comedi_driver
*comedi_driver , struct pcmcia_driver *pcmcia_driver );
two pointers, one void, no return value, no drama. she takes it and she goes π«Ά
π ARGUMENTS
comedi_driverβ the COMEDI driver to be registered. (yes, the manpage literally says "to be registered" for a function whose whole thing is unregistering β I don't make the rules, I just report them π)pcmcia_driverβ the PCMCIA driver to be registered. same situation, same energy, copy that exactly as it's written π₯
π¦ DESCRIPTION
so here's the tea β β this function gets called from the module_exit of PCMCIA COMEDI driver modules, and what it does is unregister the PCMCIA driver and the COMEDI driver. both. at once. iconic behaviour, honestly π
β οΈ do NOT call it directly, bestie. seriously. use the module_comedi_pcmcia_driver helper macro instead. that's not a suggestion, that's the whole instruction. the macro is the main character here, this function is just backstage crew π
π SEE ALSO
the whole friend group, no cap:
- Kernel file
./drivers/comedi/comedi_pcmcia.c comedi_to_pcmcia_dev(9)comedi_pcmcia_enable(9)comedi_pcmcia_disable(9)comedi_pcmcia_auto_config(9)comedi_pcmcia_auto_unconfig(9)comedi_pcmcia_driver_register(9)
like, go read those too, they're all slaying in the same file π
that's the whole page, babes π§ β sourced straight from ./drivers/comedi, dated October 2026, living under the Kernel API Manual banner. mwah, drink water, and don't call the unregister function directly πβ¨
π¦ 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