staging: ft1000: Fix coding style.
authorMarek Belisko <marek.belisko@open-nandra.com>
Thu, 9 Dec 2010 15:13:52 +0000 (16:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:35:14 +0000 (16:35 -0800)
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-usb/ft1000_proc.c

index 773316fcecd7d23712e701dc4d00e4cce9a20d9a..bd28a6bfa86a3b118142fc0c1970a0b3e34c1b2a 100644 (file)
 
 #define PUTX_TO_PAGE(len,page,message,size,var) \
        len += snprintf(page+len, PAGE_SIZE - len, message); \
-       for(i = 0; i < (size - 1); i++) \
-       { \
+       for (i = 0; i < (size - 1); i++) {\
                len += snprintf(page+len, PAGE_SIZE - len, "%02x:", var[i]); \
        } \
        len += snprintf(page+len, PAGE_SIZE - len, "%02x\n", var[i])
 
 #define PUTD_TO_PAGE(len,page,message,size,var) \
        len += snprintf(page+len, PAGE_SIZE - len, message); \
-       for(i = 0; i < (size - 1); i++) \
-       { \
+       for (i = 0; i < (size - 1); i++) {\
                len += snprintf(page+len, PAGE_SIZE - len, "%d.", var[i]); \
        } \
        len += snprintf(page+len, PAGE_SIZE - len, "%d\n", var[i])
 
 
-
-
 //#ifdef INIT_NET_NS
 #define FTNET_PROC init_net.proc_net
 //#else