staging: comedi: fix checkpatch warnings

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Luca Ellero 2014-04-30 11:22:07 +02:00 коммит произвёл Greg Kroah-Hartman
Родитель 8383b8c4a9
Коммит a1f6c2afed
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -22,10 +22,10 @@
#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);

Просмотреть файл

@ -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;
}