staging: comedi: addi_apci_1564: remove check for timer subdevice
authorChase Southwood <chase.southwood@gmail.com>
Wed, 7 May 2014 07:03:32 +0000 (02:03 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:28:15 +0000 (21:28 +0900)
commit7af6741938c2c7dd9315fbd109172d6ca0ed6b15
tree74c3e8a94282c8fe1a41af8a1e353c9ec9429ade
parent2891911a32e81942cefb1bbc1398f39e9fe76db5
staging: comedi: addi_apci_1564: remove check for timer subdevice

The only board served by this driver always has a timer, so we can init
the timer subdevice without checking first.

The boardinfo about the timer can also be removed and the data used
directly.

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