Commit a1f6c2af authored by Luca Ellero's avatar Luca Ellero Committed by Greg Kroah-Hartman

staging: comedi: fix checkpatch warnings

Signed-off-by: default avatarLuca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8383b8c4
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
#include "../comedidev.h" #include "../comedidev.h"
int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s, 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); unsigned long iobase);
int subdev_8255_init_irq(struct comedi_device *dev, struct comedi_subdevice *s, 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); unsigned long iobase);
void subdev_8255_interrupt(struct comedi_device *dev, void subdev_8255_interrupt(struct comedi_device *dev,
struct comedi_subdevice *s); struct comedi_subdevice *s);
......
...@@ -699,7 +699,8 @@ static int apci3xxx_dio_insn_config(struct comedi_device *dev, ...@@ -699,7 +699,8 @@ static int apci3xxx_dio_insn_config(struct comedi_device *dev,
if (chan < 16) if (chan < 16)
return -EINVAL; return -EINVAL;
else else
/* changing any channel in port 2 changes the entire port */ /* changing any channel in port 2 */
/* changes the entire port */
mask = 0xff0000; mask = 0xff0000;
} }
......
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