[PATCH 02/31] staging: comedi: pcl711: remove all '= 0' boardinfo

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

 



Remove all the '= 0' entries in the boardinfo. They will default 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/pcl711.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/staging/comedi/drivers/pcl711.c b/drivers/staging/comedi/drivers/pcl711.c
index c7d7684..037a584 100644
--- a/drivers/staging/comedi/drivers/pcl711.c
+++ b/drivers/staging/comedi/drivers/pcl711.c
@@ -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,
-- 
1.8.3.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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