]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB: MUSB: checkpatch.pl fixed to musb_procfs.c
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 11 Apr 2008 08:28:26 +0000 (11:28 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Apr 2008 18:54:24 +0000 (11:54 -0700)
Misc cleanup patch.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_procfs.c

index bd282da5b1b8c887f4a00fe6b7f410aaeda1692b..e6e050ce61c338113bca225f1de66288edb779ae 100644 (file)
@@ -35,7 +35,7 @@
 #include <linux/kernel.h>
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
-#include <asm/uaccess.h>       /* FIXME remove procfs writes */
+#include <linux/uaccess.h>     /* FIXME remove procfs writes */
 #include <asm/arch/hardware.h>
 
 #include "musb_core.h"
@@ -189,7 +189,7 @@ static int dump_ep(struct musb_ep *ep, char *buffer, unsigned max)
                        max -= code;
                        break;
                }
-               list_for_each_entry (req, &ep->req_list, list) {
+               list_for_each_entry(req, &ep->req_list, list) {
                        code = snprintf(buf, max, "\treq %p, %s%s%d/%d\n",
                                        req,
                                        req->zero ? "zero, " : "",
@@ -201,7 +201,7 @@ static int dump_ep(struct musb_ep *ep, char *buffer, unsigned max)
                        buf += code;
                        max -= code;
                }
-       } while(0);
+       } while (0);
        return buf - buffer;
 }
 #endif
@@ -700,7 +700,7 @@ static int musb_proc_write(struct file *file, const char __user *buffer,
                }
                break;
 
-#if (MUSB_DEBUG>0)
+#if (MUSB_DEBUG > 0)
                /* set/read debug level */
        case 'D':{
                        if (count > 1) {