]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc13723fe7814887c523a90be37478c2be776c774
tree0b441efb65cdde10cdd5e76020e9a3bbea01f091
parent2fd1a97012a9562ea2009e0171a6b0a566f2754d
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