[PATCH 2/4] staging: comedi: addi_apci_1564: don't allocate unused subdevices

2014-05-03 Thread Chase Southwood
The addi-data common code always allocates 7 subdevices. This driver cannot or will not use the ones we are currently allocating for analog input and output or EEPROM, so just don't allocate these subdevices at all. Signed-off-by: Chase Southwood Cc: Ian Abbott Cc: H Hartley Sweeten ---

[PATCH 2/4] staging: comedi: addi_apci_1564: don't allocate unused subdevices

2014-05-03 Thread Chase Southwood
The addi-data common code always allocates 7 subdevices. This driver cannot or will not use the ones we are currently allocating for analog input and output or EEPROM, so just don't allocate these subdevices at all. Signed-off-by: Chase Southwood chase.southw...@gmail.com Cc: Ian Abbott