OSDN Git Service

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)
commit33ae8a5ed3017cfca5742deff4039dd912690015
tree8dfd1c2e515e833ca3d83462d37f25e8b6dcf675
parentc81933857bc1192968bfae736a469a126672143b
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