]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: pcl711: remove unused boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 20 Sep 2013 23:34:36 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 22:59:56 +0000 (15:59 -0700)
The 'is_dg' and 'n_ranges' members in the boardinfo are not used by
the driver. Remove them.

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 037a5840683f68ff4a2310ae89ae1abfa5e47b0c..e1cdb365fed47d21735a30a284f3def70eda7f1b 100644 (file)
@@ -135,8 +135,6 @@ struct pcl711_board {
        const char *name;
        int is_pcl711b;
        int is_8112;
-       int is_dg;
-       int n_ranges;
        int n_aichan;
        int n_aochan;
        int maxirq;
@@ -146,14 +144,12 @@ struct pcl711_board {
 static const struct pcl711_board boardtypes[] = {
        {
                .name           = "pcl711",
-               .n_ranges       = 5,
                .n_aichan       = 8,
                .n_aochan       = 1,
                .ai_range_type  = &range_bipolar5,
        }, {
                .name           = "pcl711b",
                .is_pcl711b     = 1,
-               .n_ranges       = 5,
                .n_aichan       = 8,
                .n_aochan       = 1,
                .maxirq         = 7,
@@ -161,7 +157,6 @@ static const struct pcl711_board boardtypes[] = {
        }, {
                .name           = "acl8112hg",
                .is_8112        = 1,
-               .n_ranges       = 12,
                .n_aichan       = 16,
                .n_aochan       = 2,
                .maxirq         = 15,
@@ -169,8 +164,6 @@ static const struct pcl711_board boardtypes[] = {
        }, {
                .name           = "acl8112dg",
                .is_8112        = 1,
-               .is_dg          = 1,
-               .n_ranges       = 9,
                .n_aichan       = 16,
                .n_aochan       = 2,
                .maxirq         = 15,