Skip to content
Snippets Groups Projects
Commit 6142e0ae authored by Vitaly Kuzmichev's avatar Vitaly Kuzmichev Committed by Remy Bohmer
Browse files

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: default avatarVitaly Kuzmichev <vkuzmichev@mvista.com>
parent a170f2c7
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment