Use the module_comedi_usb_driver helper macro to remove the module init/exit boilerplate. And refactor the init code to follow the style of the other comedi driver types and improve maintainability. H Hartley Sweeten (8): staging: comedi: usbdux: use module_comedi_usb_driver() staging: comedi: usbduxfast: use module_comedi_usb_driver() staging: comedi: usbduxsigma: use module_comedi_usb_driver() staging: comedi: vmk80xx: use module_comedi_usb_driver() staging: comedi: vmk80xx: refactor init code staging: comedi: usbduxsigma: refactor init code staging: comedi: usbduxfast: refactor init code staging: comedi: usbdux: refactor init code drivers/staging/comedi/drivers/usbdux.c | 516 +++++++++++++-------------- drivers/staging/comedi/drivers/usbduxfast.c | 366 +++++++++---------- drivers/staging/comedi/drivers/usbduxsigma.c | 477 ++++++++++++------------- drivers/staging/comedi/drivers/vmk80xx.c | 107 +++--- 4 files changed, 665 insertions(+), 801 deletions(-) -- 1.7.11 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel