Commit 7333d50b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aae2f267
...@@ -244,7 +244,7 @@ static void usbduxsigma_ai_urb_complete(struct urb *urb) ...@@ -244,7 +244,7 @@ static void usbduxsigma_ai_urb_complete(struct urb *urb)
* we don't copy the data into the transfer buffer * we don't copy the data into the transfer buffer
* and recycle the last data byte * 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; break;
...@@ -679,7 +679,7 @@ static int usbduxsigma_ai_inttrig(struct comedi_device *dev, ...@@ -679,7 +679,7 @@ static int usbduxsigma_ai_inttrig(struct comedi_device *dev,
struct comedi_subdevice *s, struct comedi_subdevice *s,
unsigned int trignum) unsigned int trignum)
{ {
struct usbduxsigma_private *devpriv= dev->private; struct usbduxsigma_private *devpriv = dev->private;
int ret; int ret;
if (trignum != 0) if (trignum != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment