Skip to content

Commit

Permalink
staging: comedi: me4000: remove the '0' boardinfo data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 8, 2012
1 parent 035d432 commit 556e451
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions drivers/staging/comedi/drivers/me4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
},
Expand All @@ -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,
},
Expand All @@ -203,7 +167,6 @@ static const struct me4000_board me4000_boards[] = {
.device_id = 0x4672,
.ao = {
.count = 4,
.fifo_count = 0,
},
.ai = {
.count = 32,
Expand All @@ -222,7 +185,6 @@ static const struct me4000_board me4000_boards[] = {
.device_id = 0x4673,
.ao = {
.count = 4,
.fifo_count = 0,
},
.ai = {
.count = 32,
Expand All @@ -245,7 +207,6 @@ static const struct me4000_board me4000_boards[] = {
},
.ai = {
.count = 32,
.sh_count = 0,
.diff_count = 16,
.ex_trig_analog = 1,
},
Expand All @@ -264,7 +225,6 @@ static const struct me4000_board me4000_boards[] = {
},
.ai = {
.count = 32,
.sh_count = 0,
.diff_count = 16,
.ex_trig_analog = 1,
},
Expand Down

0 comments on commit 556e451

Please sign in to comment.