[PATCH 03/40] staging: comedi: me4000: remove the '0' boardinfo data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove all the boardinfo data that is set to '0'.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Ian Abbott <abbotti@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/staging/comedi/drivers/me4000.c | 40 ---------------------------------
 1 file changed, 40 deletions(-)

diff --git a/drivers/staging/comedi/drivers/me4000.c b/drivers/staging/comedi/drivers/me4000.c
index 4a22fe3..1983fa7 100644
--- a/drivers/staging/comedi/drivers/me4000.c
+++ b/drivers/staging/comedi/drivers/me4000.c
@@ -68,34 +68,18 @@ static const struct me4000_board me4000_boards[] = {
 	{
 		.name		= "ME-4650",
 		.device_id	= 0x4650,
-		.ao		= {
-			.count		= 0,
-			.fifo_count	= 0,
-		},
 		.ai		= {
 			.count		= 16,
-			.sh_count	= 0,
-			.diff_count	= 0,
-			.ex_trig_analog	= 0,
 		},
 		.dio		= {
 			.count		= 4,
 		},
-		.cnt		= {
-			.count		= 0,
-		},
 	}, {
 		.name		= "ME-4660",
 		.device_id	= 0x4660,
-		.ao		= {
-			.count		= 0,
-			.fifo_count	= 0,
-		},
 		.ai		= {
 			.count		= 32,
-			.sh_count	= 0,
 			.diff_count	= 16,
-			.ex_trig_analog	= 0,
 		},
 		.dio		= {
 			.count		= 4,
@@ -106,15 +90,9 @@ static const struct me4000_board me4000_boards[] = {
 	}, {
 		.name		= "ME-4660i",
 		.device_id	= 0x4661,
-		.ao		= {
-			.count		= 0,
-			.fifo_count	= 0,
-		},
 		.ai		= {
 			.count		= 32,
-			.sh_count	= 0,
 			.diff_count	= 16,
-			.ex_trig_analog	= 0,
 		},
 		.dio		= {
 			.count		= 4,
@@ -125,15 +103,10 @@ static const struct me4000_board me4000_boards[] = {
 	}, {
 		.name		= "ME-4660s",
 		.device_id	= 0x4662,
-		.ao		= {
-			.count		= 0,
-			.fifo_count	= 0,
-		},
 		.ai		= {
 			.count		= 32,
 			.sh_count	= 8,
 			.diff_count	= 16,
-			.ex_trig_analog	= 0,
 		},
 		.dio		= {
 			.count		= 4,
@@ -144,15 +117,10 @@ static const struct me4000_board me4000_boards[] = {
 	}, {
 		.name		= "ME-4660is",
 		.device_id	= 0x4663,
-		.ao		= {
-			.count		= 0,
-			.fifo_count	= 0,
-		},
 		.ai		= {
 			.count		= 32,
 			.sh_count	= 8,
 			.diff_count	= 16,
-			.ex_trig_analog	= 0,
 		},
 		.dio		= {
 			.count		= 4,
@@ -165,11 +133,9 @@ static const struct me4000_board me4000_boards[] = {
 		.device_id	= 0x4670,
 		.ao		= {
 			.count		= 4,
-			.fifo_count	= 0,
 		},
 		.ai		= {
 			.count		= 32,
-			.sh_count	= 0,
 			.diff_count	= 16,
 			.ex_trig_analog	= 1,
 		},
@@ -184,11 +150,9 @@ static const struct me4000_board me4000_boards[] = {
 		.device_id	= 0x4671,
 		.ao		= {
 			.count		= 4,
-			.fifo_count	= 0,
 		},
 		.ai		= {
 			.count		= 32,
-			.sh_count	= 0,
 			.diff_count	= 16,
 			.ex_trig_analog	= 1,
 		},
@@ -203,7 +167,6 @@ static const struct me4000_board me4000_boards[] = {
 		.device_id	= 0x4672,
 		.ao		= {
 			.count		= 4,
-			.fifo_count	= 0,
 		},
 		.ai		= {
 			.count		= 32,
@@ -222,7 +185,6 @@ static const struct me4000_board me4000_boards[] = {
 		.device_id	= 0x4673,
 		.ao		= {
 			.count		= 4,
-			.fifo_count	= 0,
 		},
 		.ai		= {
 			.count		= 32,
@@ -245,7 +207,6 @@ static const struct me4000_board me4000_boards[] = {
 		},
 		.ai		= {
 			.count		= 32,
-			.sh_count	= 0,
 			.diff_count	= 16,
 			.ex_trig_analog	= 1,
 		},
@@ -264,7 +225,6 @@ static const struct me4000_board me4000_boards[] = {
 		},
 		.ai		= {
 			.count		= 32,
-			.sh_count	= 0,
 			.diff_count	= 16,
 			.ex_trig_analog	= 1,
 		},
-- 
1.7.11

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux