staging: comedi: cb_pcidas: simplify the boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 00:56:43 +0000 (17:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:23:51 +0000 (15:23 -0700)
commit23e3cce3270b5f0d9c094c9bcb34d919713e02eb
tree0eacbb27f5a184572babf3a2fb47ce5db3f862a1
parent4466fc45007c346971ae537cc64e82a8a4961160
staging: comedi: cb_pcidas: simplify the boardinfo

The boardinfo values 'has_ai_trig_gated' and 'has_ai_trig_invert'
are both only set for the "1602" versions of the boards supported
by this driver.

Simplify the boardinfo, and the code, by replacing these two
variables with one "is_1602" variable.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcidas.c