The addi-data drivers are really bloated due to the use of the "common" code. The boardinfo and private data structs have a lot of information in them that is not needed by most of the drivers. Start the removal of the "common" code by making each of the addi-data drivers have it's own module_comedi_pci_driver() and associated data/code. H Hartley Sweeten (2): staging: comedi: addi_apci_*: remove unneeded CONFIG_APCI_* defines staging: comedi: addi_apci_*: add module_comedi_pci_driver() .../staging/comedi/drivers/addi-data/addi_common.c | 30 ---------------- drivers/staging/comedi/drivers/addi_apci_035.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_1032.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_1500.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_1516.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_1564.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_16xx.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_1710.c | 38 ++++++++++++++++---- drivers/staging/comedi/drivers/addi_apci_2016.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_2032.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_2200.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_3001.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_3120.c | 38 ++++++++++++++++---- drivers/staging/comedi/drivers/addi_apci_3200.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_3300.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_3501.c | 40 +++++++++++++++++----- drivers/staging/comedi/drivers/addi_apci_3xxx.c | 40 +++++++++++++++++----- 17 files changed, 512 insertions(+), 154 deletions(-) -- 1.7.11 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel