From: H Hartley Sweeten Date: Mon, 17 Feb 2014 21:27:03 +0000 (-0700) Subject: staging: comedi: pcl818: remove 'n_ranges' from boardinfo X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bffeff2d2c858bad9e97517cc4936fb05ce197d6;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: pcl818: remove 'n_ranges' from boardinfo This member in the boardinfo is not used. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcl818.c b/drivers/staging/comedi/drivers/pcl818.c index 4f280268fd6c..ded1bf8dbe3e 100644 --- a/drivers/staging/comedi/drivers/pcl818.c +++ b/drivers/staging/comedi/drivers/pcl818.c @@ -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,