]> Pileus Git - ~andy/linux/commitdiff
staging: comedi: usbduxsigma: add missing spaces reported by checkpatch.pl
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 20:08:51 +0000 (13:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:11 +0000 (20:41 +0900)
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>
drivers/staging/comedi/drivers/usbduxsigma.c

index ee2b0ba9ba7cb8908da8bb0f125b5e4dbf241636..e070477ce532bc9a5bcbf8fae17af5953ce4c859 100644 (file)
@@ -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)