COMEDI_MAJOR
MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i", i);
MKDEV(COMEDI_MAJOR, i), NULL, "comedi%i_subd%i",
device_destroy(&comedi_class, MKDEV(COMEDI_MAJOR, s->minor));
retval = register_chrdev_region(MKDEV(COMEDI_MAJOR, 0),
retval = cdev_add(&comedi_cdev, MKDEV(COMEDI_MAJOR, 0),
unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS);
unregister_chrdev_region(MKDEV(COMEDI_MAJOR, 0), COMEDI_NUM_MINORS);
MKDEV(COMEDI_MAJOR, dev->minor));