Browse Source

staging: comedi: usbduxsigma: add missing spaces reported by checkpatch.pl

checkpatch.pl reports:

ERROR: space required after that ',' (ctx:VxV)
+               dev_dbg(dev->class_dev,"CRC error in ISO IN stream\n");
                                      ^

ERROR: spaces required around that '=' (ctx:VxW)
+       struct usbduxsigma_private *devpriv= dev->private;
                                           ^
Add the missing spaces to avoid the error.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H Hartley Sweeten 12 years ago
parent
commit
7333d50b8a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/comedi/drivers/usbduxsigma.c

+ 2 - 2
drivers/staging/comedi/drivers/usbduxsigma.c

@@ -244,7 +244,7 @@ static void usbduxsigma_ai_urb_complete(struct urb *urb)
 		 * we don't copy the data into the transfer buffer
 		 * and recycle the last data byte
 		 */
-		dev_dbg(dev->class_dev,"CRC error in ISO IN stream\n");
+		dev_dbg(dev->class_dev, "CRC error in ISO IN stream\n");
 
 		break;
 
@@ -679,7 +679,7 @@ static int usbduxsigma_ai_inttrig(struct comedi_device *dev,
 				  struct comedi_subdevice *s,
 				  unsigned int trignum)
 {
-	struct usbduxsigma_private *devpriv= dev->private;
+	struct usbduxsigma_private *devpriv = dev->private;
 	int ret;
 
 	if (trignum != 0)