]> Pileus Git - ~andy/linux/commitdiff
staging: comedi: me4000: remove the '0' boardinfo data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:39:11 +0000 (17:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:45:27 +0000 (21:45 -0700)
Remove all the boardinfo data that is set to '0'.

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

index 4a22fe323b30e9381bc27ac17ee1158093d67ba4..1983fa724312ca7e8823113e5e002452a82ccd60 100644 (file)
@@ -68,34 +68,18 @@ static const struct me4000_board me4000_boards[] = {
        {
                .name           = "ME-4650",
                .device_id      = 0x4650,
-               .ao             = {
-                       .count          = 0,
-                       .fifo_count     = 0,
-               },
                .ai             = {
                        .count          = 16,
-                       .sh_count       = 0,
-                       .diff_count     = 0,
-                       .ex_trig_analog = 0,
                },
                .dio            = {
                        .count          = 4,
                },
-               .cnt            = {
-                       .count          = 0,
-               },
        }, {
                .name           = "ME-4660",
                .device_id      = 0x4660,
-               .ao             = {
-                       .count          = 0,
-                       .fifo_count     = 0,
-               },
                .ai             = {
                        .count          = 32,
-                       .sh_count       = 0,
                        .diff_count     = 16,
-                       .ex_trig_analog = 0,
                },
                .dio            = {
                        .count          = 4,
@@ -106,15 +90,9 @@ static const struct me4000_board me4000_boards[] = {
        }, {
                .name           = "ME-4660i",
                .device_id      = 0x4661,
-               .ao             = {
-                       .count          = 0,
-                       .fifo_count     = 0,
-               },
                .ai             = {
                        .count          = 32,
-                       .sh_count       = 0,
                        .diff_count     = 16,
-                       .ex_trig_analog = 0,
                },
                .dio            = {
                        .count          = 4,
@@ -125,15 +103,10 @@ static const struct me4000_board me4000_boards[] = {
        }, {
                .name           = "ME-4660s",
                .device_id      = 0x4662,
-               .ao             = {
-                       .count          = 0,
-                       .fifo_count     = 0,
-               },
                .ai             = {
                        .count          = 32,
                        .sh_count       = 8,
                        .diff_count     = 16,
-                       .ex_trig_analog = 0,
                },
                .dio            = {
                        .count          = 4,
@@ -144,15 +117,10 @@ static const struct me4000_board me4000_boards[] = {
        }, {
                .name           = "ME-4660is",
                .device_id      = 0x4663,
-               .ao             = {
-                       .count          = 0,
-                       .fifo_count     = 0,
-               },
                .ai             = {
                        .count          = 32,
                        .sh_count       = 8,
                        .diff_count     = 16,
-                       .ex_trig_analog = 0,
                },
                .dio            = {
                        .count          = 4,
@@ -165,11 +133,9 @@ static const struct me4000_board me4000_boards[] = {
                .device_id      = 0x4670,
                .ao             = {
                        .count          = 4,
-                       .fifo_count     = 0,
                },
                .ai             = {
                        .count          = 32,
-                       .sh_count       = 0,
                        .diff_count     = 16,
                        .ex_trig_analog = 1,
                },
@@ -184,11 +150,9 @@ static const struct me4000_board me4000_boards[] = {
                .device_id      = 0x4671,
                .ao             = {
                        .count          = 4,
-                       .fifo_count     = 0,
                },
                .ai             = {
                        .count          = 32,
-                       .sh_count       = 0,
                        .diff_count     = 16,
                        .ex_trig_analog = 1,
                },
@@ -203,7 +167,6 @@ static const struct me4000_board me4000_boards[] = {
                .device_id      = 0x4672,
                .ao             = {
                        .count          = 4,
-                       .fifo_count     = 0,
                },
                .ai             = {
                        .count          = 32,
@@ -222,7 +185,6 @@ static const struct me4000_board me4000_boards[] = {
                .device_id      = 0x4673,
                .ao             = {
                        .count          = 4,
-                       .fifo_count     = 0,
                },
                .ai             = {
                        .count          = 32,
@@ -245,7 +207,6 @@ static const struct me4000_board me4000_boards[] = {
                },
                .ai             = {
                        .count          = 32,
-                       .sh_count       = 0,
                        .diff_count     = 16,
                        .ex_trig_analog = 1,
                },
@@ -264,7 +225,6 @@ static const struct me4000_board me4000_boards[] = {
                },
                .ai             = {
                        .count          = 32,
-                       .sh_count       = 0,
                        .diff_count     = 16,
                        .ex_trig_analog = 1,
                },