[PATCH] usb: gadget: Conform with checkpatch -3 warnings, 1 error

2012-09-08 Thread Ben Minerds
Removed 3 checkpatch.sh warnings and 1 error in drivers/usb/gadget/serial.c. -sizeof brackets x2 -remove initialise to 0 -pr_warning to pr_warn Signed-off-by: Ben Minerds --- drivers/usb/gadget/serial.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/usb

[PATCH 6/6] USB: serial: Removed unrequired parentheses.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - return is not a function, parentheses not required. Removed 1 checkpatch.sh error. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c

[PATCH 5/6] USB: serial: Removed trailing whitespace.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - trailing whitespace. Removed 1 checkpatch.sh error. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c

[PATCH 4/6] USB: serial: Fixed space near open parenthesis.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - space near open parenthesis '('. Removed 2 checkpatch.sh errors. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/d

[PATCH 3/6] USB: serial: Fixed space around equals.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - space around '='. Removed 1 checkpatch.sh error. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial

[PATCH 2/6] USB: serial: Fix spacing around conditional.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - spaces around '?' and ':'.Removed 14 checkpatch.sh errors. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/us

[PATCH 1/6] USB: serial: Removed space before tabs.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - no space before tabs. Removed 52 checkpatch.sh warnings. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c | 106 +- 1 files changed, 53 insertions(+), 53 deletions(-) diff --git a/drivers/usb

[PATCH 0/6] USB: serial: Changes to conform with checkpatch.

2012-07-11 Thread Ben Minerds
Removed various checkpatch.sh warnings and errors. Split patch by warning/error type. Corrected line wraps in emails. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c | 106 +- 1 files changed, 53 insertions(+), 53 deletions(-) diff --git a