staging: comedi: pcl818: remove 'n_ranges' from boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 17 Feb 2014 21:27:03 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:53:54 +0000 (11:53 -0800)
This member in the boardinfo is not used. Remove it.

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/pcl818.c

index 4f280268fd6c440266f0bc4ccdcb10e3e4a5480b..ded1bf8dbe3ecb558809ef7271cf26fb8b64bd54 100644 (file)
@@ -258,7 +258,6 @@ static const struct comedi_lrange range718_unipolar1 = {
 
 struct pcl818_board {
        const char *name;
-       int n_ranges;
        unsigned int ns_min;
        int n_aochan;
        const struct comedi_lrange *ai_range_type;
@@ -273,7 +272,6 @@ struct pcl818_board {
 static const struct pcl818_board boardtypes[] = {
        {
                .name           = "pcl818l",
-               .n_ranges       = 4,
                .ns_min         = 25000,
                .n_aochan       = 1,
                .ai_range_type  = &range_pcl818l_l_ai,
@@ -284,7 +282,6 @@ static const struct pcl818_board boardtypes[] = {
                .is_818         = 1,
        }, {
                .name           = "pcl818h",
-               .n_ranges       = 9,
                .ns_min         = 10000,
                .n_aochan       = 1,
                .ai_range_type  = &range_pcl818h_ai,
@@ -295,7 +292,6 @@ static const struct pcl818_board boardtypes[] = {
                .is_818         = 1,
        }, {
                .name           = "pcl818hd",
-               .n_ranges       = 9,
                .ns_min         = 10000,
                .n_aochan       = 1,
                .ai_range_type  = &range_pcl818h_ai,
@@ -307,7 +303,6 @@ static const struct pcl818_board boardtypes[] = {
                .is_818         = 1,
        }, {
                .name           = "pcl818hg",
-               .n_ranges       = 12,
                .ns_min         = 10000,
                .n_aochan       = 1,
                .ai_range_type  = &range_pcl818hg_ai,
@@ -319,7 +314,6 @@ static const struct pcl818_board boardtypes[] = {
                .is_818         = 1,
        }, {
                .name           = "pcl818",
-               .n_ranges       = 9,
                .ns_min         = 10000,
                .n_aochan       = 2,
                .ai_range_type  = &range_pcl818h_ai,
@@ -330,7 +324,6 @@ static const struct pcl818_board boardtypes[] = {
                .is_818         = 1,
        }, {
                .name           = "pcl718",
-               .n_ranges       = 1,
                .ns_min         = 16000,
                .n_aochan       = 2,
                .ai_range_type  = &range_unipolar5,
@@ -340,7 +333,6 @@ static const struct pcl818_board boardtypes[] = {
                .has_dma        = 1,
        }, {
                .name           = "pcm3718",
-               .n_ranges       = 9,
                .ns_min         = 10000,
                .ai_range_type  = &range_pcl818h_ai,
                .IRQbits        = 0x00fc,