From: Felipe Balbi Date: Fri, 11 Apr 2008 08:28:26 +0000 (+0300) Subject: USB: MUSB: checkpatch.pl fixed to musb_procfs.c X-Git-Tag: v2.6.25-omap1~43 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a8b366a0c42e265c31649a3bcc0eb632b43a920e;p=linux-2.6-omap-h63xx.git USB: MUSB: checkpatch.pl fixed to musb_procfs.c Misc cleanup patch. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/drivers/usb/musb/musb_procfs.c b/drivers/usb/musb/musb_procfs.c index bd282da5b1b..e6e050ce61c 100644 --- a/drivers/usb/musb/musb_procfs.c +++ b/drivers/usb/musb/musb_procfs.c @@ -35,7 +35,7 @@ #include #include #include -#include /* FIXME remove procfs writes */ +#include /* FIXME remove procfs writes */ #include #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) {