]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: comedi: removing warnings reported by checkpatch tool on cb_pcimdas.c
authorRaghavendra Ganiga <ravi23ganiga@gmail.com>
Sat, 10 May 2014 16:24:14 +0000 (21:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:57:14 +0000 (01:57 +0900)
This is a patch to remove warnings reported
by checkpatch tool on cb_pcimdas.c file

Signed-off-by: Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcimdas.c

index d3141c865fe72a74725124c6b11d32857e32bf2a..50e522e6e690b29ab294037dd014ca48ff1f5253 100644 (file)
@@ -31,7 +31,8 @@ Configuration Options:
 
 Developed from cb_pcidas and skel by Richard Bytheway (mocelet@sucs.org).
 Only supports DIO, AO and simple AI in it's present form.
-No interrupts, multi channel or FIFO AI, although the card looks like it could support this.
+No interrupts, multi channel or FIFO AI,
+although the card looks like it could support this.
 See http://www.mccdaq.com/PDFs/Manuals/pcim-das1602-16.pdf for more details.
 */
 
@@ -128,8 +129,12 @@ static int cb_pcimdas_ai_rinsn(struct comedi_device *dev,
                d = d & 0xfd;
                outb(d, devpriv->BADR3 + 5);
        }
-       outb(0x01, devpriv->BADR3 + 6); /* set bursting off, conversions on */
-       outb(0x00, devpriv->BADR3 + 7); /* set range to 10V. UP/BP is controlled by a switch on the board */
+
+       /* set bursting off, conversions on */
+       outb(0x01, devpriv->BADR3 + 6);
+
+       /* set range to 10V. UP/BP is controlled by a switch on the board */
+       outb(0x00, devpriv->BADR3 + 7);
 
        /*
         * write channel limits to multiplexer, set Low (bits 0-3) and