diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 15:43:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:35:58 -0700 |
commit | 8e81f184d9fc3c607a2f0b236d765eb348fbd845 (patch) | |
tree | deb135a1b73763f6a55086675f597852a9e742ec /drivers | |
parent | ecfe20db3e0e2ff9df4007c4f1d34b27a24265fd (diff) |
Staging: comedi: fix up coding issues in proc.c
Fixes all but one.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/proc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/comedi/proc.c b/drivers/staging/comedi/proc.c index 5a22fe62c400..2b41faf37c60 100644 --- a/drivers/staging/comedi/proc.c +++ b/drivers/staging/comedi/proc.c @@ -33,9 +33,6 @@ #include <linux/proc_fs.h> /* #include <linux/string.h> */ -int comedi_read_procmem(char *buf, char **start, off_t offset, int len, - int *eof, void *data); - extern struct comedi_driver *comedi_drivers; int comedi_read_procmem(char *buf, char **start, off_t offset, int len, @@ -49,7 +46,8 @@ int comedi_read_procmem(char *buf, char **start, off_t offset, int len, l += sprintf(buf + l, "comedi version " COMEDI_RELEASE "\n" "format string: %s\n", - "\"%2d: %-20s %-20s %4d\",i,driver_name,board_name,n_subdevices"); + "\"%2d: %-20s %-20s %4d\", i, " + "driver_name, board_name, n_subdevices"); for (i = 0; i < COMEDI_NUM_BOARD_MINORS; i++) { struct comedi_device_file_info *dev_file_info = |