Staging: comedi: fix up coding issues in proc.c
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Apr 2010 22:43:12 +0000 (15:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:58 +0000 (11:35 -0700)
Fixes all but one.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/proc.c

index 5a22fe62c400b05049882b72eb529decfd750710..2b41faf37c602fc1776e526a7afd67f4f1663a23 100644 (file)
@@ -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 =