Re-jig to implement comedi attach_pci() hook, get rid of a couple of dodgy macros, remove forward function declarations, replace printk() with dev_...(), and trim off the unused bits. drivers/staging/comedi/drivers/amplc_pc236.c | 657 ++++++++++++-------------- 1 files changed, 314 insertions(+), 343 deletions(-) [PATCH 1/8] Use IS_ENABLED() [PATCH 2/8] Use module_comedi_{pci,}_driver() [PATCH 3/8] Remove forward function declarations [PATCH 4/8] Replace printk calls [PATCH 5/8] Remove unused fancy_name [PATCH 6/8] Change return type of pc236_find_pci() [PATCH 7/8] Remove thisboard and devpriv macros [PATCH 8/8] Add attach_pci() hook _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel