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 4f16ea78f86ac505a5630d309a71c5b52d81ac7c..795d232a6c02301ed1c4a73520f1ba3d7e79bccc 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 64c37b65ba27eec889e9654a38ef2d496aed9603..f290be8188453b8eb74bf20771eb7bd055d0ccce 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;
        }