comedi_pcmc...r_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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