Commit 5deee091 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: pcl711: remove all '= 0' boardinfo

Remove all the '= 0' entries in the boardinfo. They will default to 0.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9adfdf90
...@@ -146,19 +146,13 @@ struct pcl711_board { ...@@ -146,19 +146,13 @@ struct pcl711_board {
static const struct pcl711_board boardtypes[] = { static const struct pcl711_board boardtypes[] = {
{ {
.name = "pcl711", .name = "pcl711",
.is_pcl711b = 0,
.is_8112 = 0,
.is_dg = 0,
.n_ranges = 5, .n_ranges = 5,
.n_aichan = 8, .n_aichan = 8,
.n_aochan = 1, .n_aochan = 1,
.maxirq = 0,
.ai_range_type = &range_bipolar5, .ai_range_type = &range_bipolar5,
}, { }, {
.name = "pcl711b", .name = "pcl711b",
.is_pcl711b = 1, .is_pcl711b = 1,
.is_8112 = 0,
.is_dg = 0,
.n_ranges = 5, .n_ranges = 5,
.n_aichan = 8, .n_aichan = 8,
.n_aochan = 1, .n_aochan = 1,
...@@ -166,9 +160,7 @@ static const struct pcl711_board boardtypes[] = { ...@@ -166,9 +160,7 @@ static const struct pcl711_board boardtypes[] = {
.ai_range_type = &range_pcl711b_ai, .ai_range_type = &range_pcl711b_ai,
}, { }, {
.name = "acl8112hg", .name = "acl8112hg",
.is_pcl711b = 0,
.is_8112 = 1, .is_8112 = 1,
.is_dg = 0,
.n_ranges = 12, .n_ranges = 12,
.n_aichan = 16, .n_aichan = 16,
.n_aochan = 2, .n_aochan = 2,
...@@ -176,7 +168,6 @@ static const struct pcl711_board boardtypes[] = { ...@@ -176,7 +168,6 @@ static const struct pcl711_board boardtypes[] = {
.ai_range_type = &range_acl8112hg_ai, .ai_range_type = &range_acl8112hg_ai,
}, { }, {
.name = "acl8112dg", .name = "acl8112dg",
.is_pcl711b = 0,
.is_8112 = 1, .is_8112 = 1,
.is_dg = 1, .is_dg = 1,
.n_ranges = 9, .n_ranges = 9,
......
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