Commit 556e451d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: me4000: remove the '0' boardinfo data

Remove all the boardinfo data that is set to '0'.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 035d432a
...@@ -68,34 +68,18 @@ static const struct me4000_board me4000_boards[] = { ...@@ -68,34 +68,18 @@ static const struct me4000_board me4000_boards[] = {
{ {
.name = "ME-4650", .name = "ME-4650",
.device_id = 0x4650, .device_id = 0x4650,
.ao = {
.count = 0,
.fifo_count = 0,
},
.ai = { .ai = {
.count = 16, .count = 16,
.sh_count = 0,
.diff_count = 0,
.ex_trig_analog = 0,
}, },
.dio = { .dio = {
.count = 4, .count = 4,
}, },
.cnt = {
.count = 0,
},
}, { }, {
.name = "ME-4660", .name = "ME-4660",
.device_id = 0x4660, .device_id = 0x4660,
.ao = {
.count = 0,
.fifo_count = 0,
},
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 0,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 0,
}, },
.dio = { .dio = {
.count = 4, .count = 4,
...@@ -106,15 +90,9 @@ static const struct me4000_board me4000_boards[] = { ...@@ -106,15 +90,9 @@ static const struct me4000_board me4000_boards[] = {
}, { }, {
.name = "ME-4660i", .name = "ME-4660i",
.device_id = 0x4661, .device_id = 0x4661,
.ao = {
.count = 0,
.fifo_count = 0,
},
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 0,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 0,
}, },
.dio = { .dio = {
.count = 4, .count = 4,
...@@ -125,15 +103,10 @@ static const struct me4000_board me4000_boards[] = { ...@@ -125,15 +103,10 @@ static const struct me4000_board me4000_boards[] = {
}, { }, {
.name = "ME-4660s", .name = "ME-4660s",
.device_id = 0x4662, .device_id = 0x4662,
.ao = {
.count = 0,
.fifo_count = 0,
},
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 8, .sh_count = 8,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 0,
}, },
.dio = { .dio = {
.count = 4, .count = 4,
...@@ -144,15 +117,10 @@ static const struct me4000_board me4000_boards[] = { ...@@ -144,15 +117,10 @@ static const struct me4000_board me4000_boards[] = {
}, { }, {
.name = "ME-4660is", .name = "ME-4660is",
.device_id = 0x4663, .device_id = 0x4663,
.ao = {
.count = 0,
.fifo_count = 0,
},
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 8, .sh_count = 8,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 0,
}, },
.dio = { .dio = {
.count = 4, .count = 4,
...@@ -165,11 +133,9 @@ static const struct me4000_board me4000_boards[] = { ...@@ -165,11 +133,9 @@ static const struct me4000_board me4000_boards[] = {
.device_id = 0x4670, .device_id = 0x4670,
.ao = { .ao = {
.count = 4, .count = 4,
.fifo_count = 0,
}, },
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 0,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 1, .ex_trig_analog = 1,
}, },
...@@ -184,11 +150,9 @@ static const struct me4000_board me4000_boards[] = { ...@@ -184,11 +150,9 @@ static const struct me4000_board me4000_boards[] = {
.device_id = 0x4671, .device_id = 0x4671,
.ao = { .ao = {
.count = 4, .count = 4,
.fifo_count = 0,
}, },
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 0,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 1, .ex_trig_analog = 1,
}, },
...@@ -203,7 +167,6 @@ static const struct me4000_board me4000_boards[] = { ...@@ -203,7 +167,6 @@ static const struct me4000_board me4000_boards[] = {
.device_id = 0x4672, .device_id = 0x4672,
.ao = { .ao = {
.count = 4, .count = 4,
.fifo_count = 0,
}, },
.ai = { .ai = {
.count = 32, .count = 32,
...@@ -222,7 +185,6 @@ static const struct me4000_board me4000_boards[] = { ...@@ -222,7 +185,6 @@ static const struct me4000_board me4000_boards[] = {
.device_id = 0x4673, .device_id = 0x4673,
.ao = { .ao = {
.count = 4, .count = 4,
.fifo_count = 0,
}, },
.ai = { .ai = {
.count = 32, .count = 32,
...@@ -245,7 +207,6 @@ static const struct me4000_board me4000_boards[] = { ...@@ -245,7 +207,6 @@ static const struct me4000_board me4000_boards[] = {
}, },
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 0,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 1, .ex_trig_analog = 1,
}, },
...@@ -264,7 +225,6 @@ static const struct me4000_board me4000_boards[] = { ...@@ -264,7 +225,6 @@ static const struct me4000_board me4000_boards[] = {
}, },
.ai = { .ai = {
.count = 32, .count = 32,
.sh_count = 0,
.diff_count = 16, .diff_count = 16,
.ex_trig_analog = 1, .ex_trig_analog = 1,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment