mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 17:26:42 +09:00
Staging: comedi: fix up coding issues in proc.c
Fixes all but one. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user