]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
USB-CDC: Fix coding style issues
authorVitaly Kuzmichev <vkuzmichev@mvista.com>
Mon, 13 Sep 2010 14:37:11 +0000 (18:37 +0400)
committerRemy Bohmer <linux@bohmer.net>
Mon, 20 Sep 2010 19:57:17 +0000 (21:57 +0200)
commit6142e0ae0fcf8bf5a7a8d785061197ace8955cb6
tree0481685eaf9ce2bb8a7964ca0e3321fa67c02b0e
parenta170f2c7973728f2e9e1b66214b0c14062c78398
USB-CDC: Fix coding style issues

Fixes most of checkpatch warnings and errors in USB gadget stack.

The most frequently encountered problems are:
1) "(foo*)", "foo * bar", "foo* bar"
2) C99 // comments
3) No spaces before/after/around '?', ':', '=', '==', ',', '&', '('
4) Spaces before '['
5) Spaces between function names and '('
6) Block braces in wrong places
7) Spaces before tabs
8) Macros with complex values not enclosed in parenthesis
9) Multiline comments start just after /*

Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
drivers/usb/gadget/config.c
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/gadget_chips.h
drivers/usb/gadget/usbstring.c
include/linux/usb/cdc.h
include/linux/usb/ch9.h
include/linux/usb/gadget.h