staging: comedi: addi_apci_1564: board has 32 digital inputs
authorChase Southwood <chase.southwood@gmail.com>
Tue, 29 Apr 2014 08:34:23 +0000 (03:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:56:49 +0000 (19:56 -0400)
commitcffd83b6d1e6e403a77c5babf1443cdfd1a080ef
tree0b441efb65cdde10cdd5e76020e9a3bbea01f091
parent6aa4f14c1febf0f602c5516857303de9cc05d6e6
staging: comedi: addi_apci_1564: board has 32 digital inputs

This board always has 32 digital inputs. Remove the test when
initializing the subdevice.

Also, since this board is the only one supported by this driver,
remove the boardinfo about the digital inputs and just use the
data directly in the subdevice init.

Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1564.c