]> 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)
commit5f4dc0f7b967c43f4cf26f60fe3219cfda561f95
tree8dfd1c2e515e833ca3d83462d37f25e8b6dcf675
parent1ec1157f5695c2b69ac9eab53f484de58505144e
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