]> Pileus Git - ~andy/linux/commit
staging: comedi: addi_apci_1032: board has 32 digital inputs
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 5 Nov 2012 21:36:27 +0000 (14:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Nov 2012 08:30:55 +0000 (09:30 +0100)
commit4c2c1488d382ab79ca364e1ce988a21df9627bf5
tree07b34e4f7ea9d0c7df00e24089ac11de174aca29
parent9559ff7e7ef0f0412fda8b28f0674e871f19dd05
staging: comedi: addi_apci_1032: 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: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1032.c