]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: pcl711: remove all '= 0' boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 20 Sep 2013 23:34:14 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 22:59:56 +0000 (15:59 -0700)
Remove all the '= 0' entries in the boardinfo. They will default to 0.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl711.c

index c7d7684f71dc20e892d9569b2d40c44023846f29..037a5840683f68ff4a2310ae89ae1abfa5e47b0c 100644 (file)
@@ -146,19 +146,13 @@ struct pcl711_board {
 static const struct pcl711_board boardtypes[] = {
        {
                .name           = "pcl711",
-               .is_pcl711b     = 0,
-               .is_8112        = 0,
-               .is_dg          = 0,
                .n_ranges       = 5,
                .n_aichan       = 8,
                .n_aochan       = 1,
-               .maxirq         = 0,
                .ai_range_type  = &range_bipolar5,
        }, {
                .name           = "pcl711b",
                .is_pcl711b     = 1,
-               .is_8112        = 0,
-               .is_dg          = 0,
                .n_ranges       = 5,
                .n_aichan       = 8,
                .n_aochan       = 1,
@@ -166,9 +160,7 @@ static const struct pcl711_board boardtypes[] = {
                .ai_range_type  = &range_pcl711b_ai,
        }, {
                .name           = "acl8112hg",
-               .is_pcl711b     = 0,
                .is_8112        = 1,
-               .is_dg          = 0,
                .n_ranges       = 12,
                .n_aichan       = 16,
                .n_aochan       = 2,
@@ -176,7 +168,6 @@ static const struct pcl711_board boardtypes[] = {
                .ai_range_type  = &range_acl8112hg_ai,
        }, {
                .name           = "acl8112dg",
-               .is_pcl711b     = 0,
                .is_8112        = 1,
                .is_dg          = 1,
                .n_ranges       = 9,