[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1286326843-6170-23-git-send-email-tdent48227@gmail.com>
Date: Tue, 5 Oct 2010 21:00:38 -0400
From: Tracey Dent <tdent48227@...il.com>
To: greg@...ah.com, abbotti@....co.uk, fmhess@...rs.sourceforge.net
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
Tracey Dent <tdent48227@...il.com>
Subject: [PATCH 23/28] Staging: comedi: drivers: adv_pci1723.c: Edit file so that checkpatch.pl has 0 warnings and 0 errors
Changed a few lines that made checkpatch.pl complain. All were WARNING: please, no space before tabs and WARNING: unnecessary whitespace before a quoted newline.
Signed-off-by: Tracey Dent <tdent48227@...il.com>
---
drivers/staging/comedi/drivers/adv_pci1723.c | 52 +++++++++++++-------------
1 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/drivers/staging/comedi/drivers/adv_pci1723.c b/drivers/staging/comedi/drivers/adv_pci1723.c
index b133bb8..cbb62d4 100644
--- a/drivers/staging/comedi/drivers/adv_pci1723.c
+++ b/drivers/staging/comedi/drivers/adv_pci1723.c
@@ -1,22 +1,22 @@
/*******************************************************************************
- comedi/drivers/pci1723.c
+ comedi/drivers/pci1723.c
- COMEDI - Linux Control and Measurement Device Interface
- Copyright (C) 2000 David A. Schleef <ds@...leef.org>
+ COMEDI - Linux Control and Measurement Device Interface
+ Copyright (C) 2000 David A. Schleef <ds@...leef.org>
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*******************************************************************************/
/*
@@ -28,11 +28,11 @@ Updated: Mon, 14 Apr 2008 15:12:56 +0100
Status: works
Configuration Options:
- [0] - PCI bus of device (optional)
- [1] - PCI slot of device (optional)
+ [0] - PCI bus of device (optional)
+ 1] - PCI slot of device (optional)
- If bus/slot is not specified, the first supported
- PCI device found will be used.
+ If bus/slot is not specified, the first supported
+ PCI device found will be used.
Subdevice 0 is 8-channel AO, 16-bit, range +/- 10 V.
@@ -42,10 +42,10 @@ configures all channels in the same group.
TODO:
-1. Add the two milliamp ranges to the AO subdevice (0 to 20 mA, 4 to 20 mA).
-2. Read the initial ranges and values of the AO subdevice at start-up instead
- of reinitializing them.
-3. Implement calibration.
+1.Add the two milliamp ranges to the AO subdevice (0 to 20 mA, 4 to 20 mA).
+2.Read the initial ranges and values of the AO subdevice at start-up instead
+ of reinitializing them.
+3.Implement calibration.
*/
#include "../comedidev.h"
@@ -235,7 +235,7 @@ static int pci1723_insn_read_ao(struct comedi_device *dev,
int n, chan;
chan = CR_CHAN(insn->chanspec);
- DPRINTK(" adv_PCI1723 DEBUG: pci1723_insn_read_ao() ----- \n");
+ DPRINTK(" adv_PCI1723 DEBUG: pci1723_insn_read_ao() -----\n");
for (n = 0; n < insn->n; n++)
data[n] = devpriv->ao_data[chan];
@@ -243,7 +243,7 @@ static int pci1723_insn_read_ao(struct comedi_device *dev,
}
/*
- analog data output;
+ analog data output;
*/
static int pci1723_ao_write_winsn(struct comedi_device *dev,
struct comedi_subdevice *s,
@@ -264,7 +264,7 @@ static int pci1723_ao_write_winsn(struct comedi_device *dev,
}
/*
- digital i/o config/query
+ digital i/o config/query
*/
static int pci1723_dio_insn_config(struct comedi_device *dev,
struct comedi_subdevice *s,
@@ -305,7 +305,7 @@ static int pci1723_dio_insn_config(struct comedi_device *dev,
}
/*
- digital i/o bits read/write
+ digital i/o bits read/write
*/
static int pci1723_dio_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
--
1.7.3.1.50.g1e633
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists