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:
parent
8383b8c4a9
commit
a1f6c2afed
2 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue