staging: comedi: fix checkpatch warnings
authorLuca Ellero <luca.ellero@brickedbrain.com>
Wed, 30 Apr 2014 09:22:07 +0000 (11:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:07:45 +0000 (20:07 -0400)
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/8255.h
drivers/staging/comedi/drivers/addi_apci_3xxx.c

index 4f16ea7..795d232 100644 (file)
 #include "../comedidev.h"
 
 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s,
-                    int (*io) (int, int, int, unsigned long),
+                    int (*io)(int, int, int, unsigned long),
                     unsigned long iobase);
 int subdev_8255_init_irq(struct comedi_device *dev, struct comedi_subdevice *s,
-                        int (*io) (int, int, int, unsigned long),
+                        int (*io)(int, int, int, unsigned long),
                         unsigned long iobase);
 void subdev_8255_interrupt(struct comedi_device *dev,
                           struct comedi_subdevice *s);
index 64c37b6..f290be8 100644 (file)
@@ -699,7 +699,8 @@ static int apci3xxx_dio_insn_config(struct comedi_device *dev,
                if (chan < 16)
                        return -EINVAL;
                else
-                       /* changing any channel in port 2 changes the entire port */
+                       /* changing any channel in port 2 */
+                       /* changes the entire port        */
                        mask = 0xff0000;
        }