]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: comedi: adv_pci1710: a line over 80 issue fixed
authorSam Asadi <asadi.samuel@gmail.com>
Sun, 20 Jul 2014 14:06:19 +0000 (17:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 21:53:44 +0000 (14:53 -0700)
By removing a comment to previous line, 'line over 80' issue
fixed.

Signed-off-by: Sam Asadi <asadi.samuel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adv_pci1710.c

index a15a552645b71835f5611c8c4f36f24c3a2c0233..b4b8f85576bb97b4a4241e4f889f0f7f9bf3566b 100644 (file)
@@ -1049,7 +1049,8 @@ static int pci171x_reset(struct comedi_device *dev)
        struct pci1710_private *devpriv = dev->private;
 
        outw(0x30, dev->iobase + PCI171x_CNTCTRL);
-       devpriv->CntrlReg = Control_SW | Control_CNT0;  /*  Software trigger, CNT0=external */
+       /* Software trigger, CNT0=external */
+       devpriv->CntrlReg = Control_SW | Control_CNT0;
        outw(devpriv->CntrlReg, dev->iobase + PCI171x_CONTROL); /*  reset any operations */
        outb(0, dev->iobase + PCI171x_CLRFIFO); /*  clear FIFO */
        outb(0, dev->iobase + PCI171x_CLRINT);  /*  clear INT request */