mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue