staging: comedi: adl_pci6208: remove the boardinfo 'ao_bits'
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 27 Jun 2012 21:56:03 +0000 (14:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:40:03 +0000 (15:40 -0700)
All the boards supported by this driver have 16-bit DACs. The
ao_bits variable in the boardinfo is commented out anyway.
Just remove it.

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/adl_pci6208.c

index 5f073c576e140c12418aec67e8380abc3c9262cf..f949d201f90e9df7516627196189849410a6543b 100644 (file)
@@ -58,7 +58,6 @@ struct pci6208_board {
        const char *name;
        unsigned short dev_id;  /* `lspci` will show you this */
        int ao_chans;
-       /* int ao_bits; */
 };
 
 static const struct pci6208_board pci6208_boards[] = {
@@ -66,19 +65,16 @@ static const struct pci6208_board pci6208_boards[] = {
           .name = "pci6208v",
           .dev_id = 0x6208,      // not sure
           .ao_chans = 8
-          // , .ao_bits = 16
           },
           {
           .name = "pci6216v",
           .dev_id = 0x6208,      // not sure
           .ao_chans = 16
-          // , .ao_bits = 16
           }, */
        {
         .name = "pci6208a",
         .dev_id = 0x6208,
         .ao_chans = 8
-        /* ,    .ao_bits = 16 */
         }
 };