From: Ravishankar <[email protected]>

This is a patch to the daqboard2000.c file that fixes up a  warning:line over 
80 character found by the checkpatch.pl tool

Signed-off-by: Ravishankar <[email protected]>
---
 drivers/staging/comedi/drivers/daqboard2000.c |   20 ++++++++++++--------
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/comedi/drivers/daqboard2000.c 
b/drivers/staging/comedi/drivers/daqboard2000.c
index 12ccdae..b007a4b 100644
--- a/drivers/staging/comedi/drivers/daqboard2000.c
+++ b/drivers/staging/comedi/drivers/daqboard2000.c
@@ -415,7 +416,8 @@ static int daqboard2000_ai_insn_read(struct comedi_device 
*dev,
 
        /* If pacer clock is not set to some high value (> 10 us), we
           risk multiple samples to be put into the result FIFO. */
-       fpga->acqPacerClockDivLow = 1000000;    /* 1 second, should be long 
enough */
+       /* 1 second, should be long enough */
+       fpga->acqPacerClockDivLow = 1000000;
        fpga->acqPacerClockDivHigh = 0;
 
        gain = CR_RANGE(insn->chanspec);
@@ -481,10 +483,11 @@ static int daqboard2000_ao_insn_write(struct 
comedi_device *dev,
 
        for (i = 0; i < insn->n; i++) {
                /*
-                * OK, since it works OK without enabling the DAC's, let's keep
-                * it as simple as possible...
+                * OK, since it works OK without enabling the DAC's, let's
+                * keep it as simple as possible...
                 */
-               /* fpga->dacControl = (chan + 2) * 0x0010 | 0x0001; 
udelay(1000); */
+               /* fpga->dacControl = (chan + 2) * 0x0010 | 0x0001;
+                * udelay(1000); */
                fpga->dacSetting[chan] = data[i];
                for (timeout = 0; timeout < 20; timeout++) {
                        if ((fpga->dacControl & ((chan + 1) * 0x0010)) == 0)
@@ -700,7 +703,8 @@ static void daqboard2000_initializeDac(struct comedi_device 
*dev)
 /*
 The test command, REMOVE!!:
 
-rmmod daqboard2000 ; rmmod comedi; make install ; modprobe daqboard2000; 
/usr/sbin/comedi_config /dev/comedi0 daqboard/2000 ; tail -40 /var/log/messages
+rmmod daqboard2000 ; rmmod comedi; make install ; modprobe daqboard2000;
+/usr/sbin/comedi_config /dev/comedi0 daqboard/2000 ; tail -40 /var/log/messages
 */
 
 static int daqboard2000_8255_cb(int dir, int port, int data,
-- 
1.6.5.2

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to