Commit 20617f22 authored by Pieter De Praetere's avatar Pieter De Praetere Committed by Greg Kroah-Hartman

Staging: comedi: fix whitespace coding style issues in comedi_fops.c

Solves warnings found by the checkpatch.pl tool: spaces before tabs.
Signed-off-by: default avatarPieter De Praetere <pieterc.depraetere@ugent.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2306d9b1
...@@ -598,19 +598,19 @@ static int do_bufinfo_ioctl(struct comedi_device *dev, void *arg) ...@@ -598,19 +598,19 @@ static int do_bufinfo_ioctl(struct comedi_device *dev, void *arg)
static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn, static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn,
unsigned int *data, void *file); unsigned int *data, void *file);
/* /*
* COMEDI_INSNLIST * COMEDI_INSNLIST
* synchronous instructions * synchronous instructions
* *
* arg: * arg:
* pointer to sync cmd structure * pointer to sync cmd structure
* *
* reads: * reads:
* sync cmd struct at arg * sync cmd struct at arg
* instruction list * instruction list
* data (for writes) * data (for writes)
* *
* writes: * writes:
* data (for reads) * data (for reads)
*/ */
/* arbitrary limits */ /* arbitrary limits */
#define MAX_SAMPLES 256 #define MAX_SAMPLES 256
...@@ -894,18 +894,18 @@ static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn, ...@@ -894,18 +894,18 @@ static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn,
} }
/* /*
* COMEDI_INSN * COMEDI_INSN
* synchronous instructions * synchronous instructions
* *
* arg: * arg:
* pointer to insn * pointer to insn
* *
* reads: * reads:
* struct comedi_insn struct at arg * struct comedi_insn struct at arg
* data (for writes) * data (for writes)
* *
* writes: * writes:
* data (for reads) * data (for reads)
*/ */
static int do_insn_ioctl(struct comedi_device *dev, void *arg, void *file) static int do_insn_ioctl(struct comedi_device *dev, void *arg, void *file)
{ {
...@@ -2105,6 +2105,7 @@ int comedi_alloc_board_minor(struct device *hardware_device) ...@@ -2105,6 +2105,7 @@ int comedi_alloc_board_minor(struct device *hardware_device)
kfree(info->device); kfree(info->device);
kfree(info); kfree(info);
printk(KERN_ERR printk(KERN_ERR
"comedi: error: ran out of minor numbers for board device files.\n"); "comedi: error: ran out of minor numbers for board device files.\n");
return -EBUSY; return -EBUSY;
} }
......
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