]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_apci_1564: board has 32 digital outputs
authorChase Southwood <chase.southwood@gmail.com>
Sat, 3 May 2014 07:55:29 +0000 (02:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:16:48 +0000 (21:16 +0900)
commit0092100d2cde1c1ee09615e4e73fe294202064c8
tree8dfd1c2e515e833ca3d83462d37f25e8b6dcf675
parentef69f5b608fb6ef74ea79566a2f6c408cff2d584
staging: comedi: addi_apci_1564: board has 32 digital outputs

This board always has 32 digital outputs.  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 outputs and just use the data directly in
the subdevice init.

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