[PATCH v2 2/5] drivers: usb: core: devio.c: Spaces to tabs for proc_control_compat()

2013-10-14 Thread Matthias Beyer
Replaced spaces by tabs for proc_control_compat() function. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index

[PATCH v2 5/5] drivers: usb: core: devio.c: Put arguments on new line

2013-10-14 Thread Matthias Beyer
To fit the 80-cols convention, this patch moves the arguments (the second and third one) for driver-unlocked_ioctl() onto a new line. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb

[PATCH v2 3/5] drivers: usb: core: devio.c: Braces around if-elseif-else

2013-10-14 Thread Matthias Beyer
, which needs a reindent after adding the braces. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index d15aa51..dd8701b 100644

[PATCH v2 4/5] drivers: usb: core: devio.c: Reindented switch-block

2013-10-14 Thread Matthias Beyer
Reindented the switch-block. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 56 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index dd8701b

[PATCH v2 0/5] Coding style fixes

2013-10-14 Thread Matthias Beyer
/6 and 6/6 from the origin patch series (I would be confused if it still works)! Btw: If you are stressed out by me sending coding style fixes, I wouldn't take it wrong if you would redirect me to a submaintainer or so! Best regards! Matthias Beyer (5): drivers: usb: core: devio.c: Spaces

[PATCH v2 1/5] drivers: usb: core: devio.c: Spaces to tabs for proc_reapurbnonblock()

2013-10-14 Thread Matthias Beyer
Replaced spaces by tabs for proc_reapurbnonblock() function. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 71dc5d7

[PATCH 1/1] drivers: usb: core: devio.c: Coding style fixes

2013-10-12 Thread Matthias Beyer
Whitespace fixes, including: - Whitespace after if-keyword - Spaces to Tabs Other coding style fixes: - Added braces for if-else blocks where missing Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 40 +--- 1 file changed

[PATCH 1/1] drivers: usb: core: devio.c: Braces around switch (updated)

2013-10-12 Thread Matthias Beyer
Added braces around switch statement as the styleguide tells us. Indented the switch-block for it and split a function call (driver-unlocked_ioctl() on line 1876) arguments to several lines to fit the 80-column convention. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core

[PATCH 6/6] drivers: usb: core: devio.c: Else should be on closing braces

2013-10-10 Thread Matthias Beyer
moved else keyword of if-else construct to closing braces. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 215d882..adbdea3 100644

[PATCH 5/6] drivers: usb: core: devio.c: Braces around switch

2013-10-10 Thread Matthias Beyer
Added braces around switch statement as the styleguide tells us. Indented the switch-block for it and split a function call (driver-unlocked_ioctl() on line 1876) arguments to several lines to fit the 80-column convention. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core

[PATCH 2/6] drivers: usb: core: file.c: moved asterisk to variable name

2013-10-10 Thread Matthias Beyer
Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/file.c b/drivers/usb/core/file.c index 903c7ef..3bdfbf8 100644 --- a/drivers/usb/core/file.c +++ b/drivers/usb/core/file.c @@ -27,7

[PATCH 3/6] drivers: usb: core: hub.c: Comments shouldnt be C99 // comment style

2013-10-10 Thread Matthias Beyer
Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/hub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index e5fdf4b..5e9fc21 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -2488,7

[PATCH 1/6] drivers: usb: core: {file,hub,sysfs,usb}.c: Whitespace fixes

2013-10-10 Thread Matthias Beyer
including: - removing of trailing whitespace - removing spaces before array indexing (foo [] to foo[]) - reindention of a switch-case block - spaces to tabs Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/file.c | 6 +-- drivers/usb/core/hub.c | 111

[PATCH 4/6] drivers: usb: core: devio.c: Coding style fixes

2013-10-10 Thread Matthias Beyer
Whitespace fixes, including: - Whitespace after if-keyword - Spaces to Tabs Other coding style fixes: - Added braces for if-else blocks where missing Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/devio.c | 39 --- 1 file changed

[PATCH 0/6] drivers: usb: core: Adapt source to styleguide

2013-10-10 Thread Matthias Beyer
not fix all ERROR messages from the scripts/checkpatch.pl script, as I don't know what to do with do not use assignments in if-condition messages. Matthias Beyer (6): drivers: usb: core: {file,hub,sysfs,usb}.c: Whitespace fixes drivers: usb: core: file.c: moved asterisk to variable name

[PATCH 1/5] drivers: usb: core: hcd: moved asterix to variable

2013-10-05 Thread Matthias Beyer
instead of type Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index d6a8d23..9036794 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core

[PATCH 3/5] drivers: usb: core: hcd: replaced C99 // comments

2013-10-05 Thread Matthias Beyer
Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/hcd.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 0f3e5a0..3a2667c 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c

[PATCH 0/5] Cleanup in drivers/usb/core/hcd.c

2013-10-05 Thread Matthias Beyer
gives me some warnings, which are remaining warnings of the file, I didn't introduce them! Best regards! Matthias Beyer (5): drivers: usb: core: hcd: moved asterix to variable drivers: usb: core: hcd: Whitespace fixes drivers: usb: core: hcd: replaced C99 // comments drivers: usb: core: hcd

[PATCH 5/5] drivers: usb: core: hcd: if-else-braces fixed

2013-10-05 Thread Matthias Beyer
Put else keyword on same line as closing brace from if statement, added { } braces as the styleguide says. Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/hcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/core/hcd.c b/drivers/usb

[PATCH 2/5] drivers: usb: core: hcd: Whitespace fixes

2013-10-05 Thread Matthias Beyer
including - spaces to tabs - removing spaces before array indexing (foo [] to foo[]) - adding spaces around unary operator (foo? 1 : 0 to foo ? 1 : 0) - removed trailing whitespace Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/hcd.c | 56

[PATCH 1/1] drivers: usb: core: hcd.c: converted busmap from struct to bitmap

2013-10-05 Thread Matthias Beyer
! Suggested by j...@perches.com Signed-off-by: Matthias Beyer m...@beyermatthias.de --- drivers/usb/core/hcd.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index bbd182a..e9e1b33 100644 --- a/drivers/usb/core/hcd.c +++ b