comedi_pci_d...r_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… comedi_pci_d...r_unregister(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes we're literally in the kernel docs section, and yes this page is short but it is mighty. This is the manual page for comedi_pci_d...r_unregister(9), and we're gonna get you fluent in it in like thirty seconds, no cap 🫢


🌸 NAME 🌸

comedi_pci_driver_unregister β€” unregister a PCI COMEDI driver, that's it, that's the whole vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void comedi_pci_driver_unregister (struct comedi_driver *comedi_driver ,
struct pci_driver *pci_driver );

copy it exactly, don't @ me πŸ™ˆ it returns void so like… it gives nothing back, it just does πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • comedi_driver β€” the COMEDI driver you want unregistered, like the one getting its goodbye moment πŸ‘‹
  • pci_driver β€” and the PCI driver to be unregistered too. both of them. together. periodt πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea πŸ“ β€” this function gets called from the module_exit of PCI COMEDI driver modules, and its whole job is to unregister both the PCI driver and the COMEDI driver. two birds, one iconic function call ✨

🚨 do NOT call it directly!! use the module_comedi_pci_driver helper macro instead. like literally, that's the whole rule. the macro is the main character here, this function is just backstage πŸ’…

🌈 SEE ALSO 🌈

the kernel file ./drivers/comedi/comedi_pci.c (iykyk 🧚) plus the whole friend group:


and that's the page!! πŸ¦‹ mwah πŸ’‹ this cutie lives over at ./drivers/comedi, dated October 2026, and you read it in the comedi_pci_d...r_unregister(9) era of your life ⭐ go forth and unregister responsibly, bestie 🫢πŸ”₯

πŸ“¦ where this page comes from