[PATCH] staging: rtl8192e: remove unnecessary multiple blank lines

2015-12-03 Thread Christian Colic
remove multiple blank lines to fix some checkpatch checks Signed-off-by: Christian Colic --- drivers/staging/rtl8192e/rtllib_module.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c index 113fbf7

[PATCH] staging: clocking-wizard: add blank line after struct declaration.

2015-12-01 Thread Christian Colic
Add blank line after struct declaration to fix checkpatch check. Signed-off-by: Christian Colic --- drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c b/drivers/staging/clocking

[PATCH] staging: wlan-ng: (coding style) remove unnecessary blank line before "}"

2015-11-23 Thread Christian Colic
Fix checkpatch checks: "Blank lines aren't necessary before a close brace '}' " Remove two unnecessary blank lines. Signed-off-by: Christian Colic --- drivers/staging/wlan-ng/cfg80211.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wlan-ng/cfg8

[PATCH] staging: speakup: (coding style) Rewrite comparisons to NULL

2015-11-19 Thread Christian Colic
Rewrite comparisons to NULL so they dont show any checkpatch errors anymore. "vc_cons[i].d != NULL" => "vc_cons[i].d" Signed-off-by: Christian Colic --- drivers/staging/speakup/buffers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stagi

[PATCH] staging: speakup: (coding style) Add braces around all arms of if-statement

2015-11-19 Thread Christian Colic
Fix checkpatch error: "braces {} should be used on all arms of this statement" by adding the necessary braces around the "if". Signed-off-by: Christian Colic --- drivers/staging/speakup/devsynth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dri

[PATCH] staging: speakup: (coding style) Add spaces around operands (checkpatch checks)

2015-11-19 Thread Christian Colic
Fix checkpatch check: CHECK: spaces preferred around that '-' (ctx:VxV) Add spaces around operands to fix these warnings. Signed-off-by: Christian Colic --- drivers/staging/speakup/keyhelp.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drive

[PATCH] staging: speakup: (coding sytle) remove unnecessary space after a cast

2015-11-19 Thread Christian Colic
Fix checkpatch check. Remove an unnecessary space after a cast. Signed-off-by: Christian Colic --- drivers/staging/speakup/devsynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/devsynth.c b/drivers/staging/speakup/devsynth.c index d1ffdf4

[PATCH] staging: speakup: (coding style) use braces {} on all arms of if-statement

2015-11-19 Thread Christian Colic
linux-ker...@vger.kernel.org Bcc: Subject: [PATCH] staging: speakup: (coding style) use braces {} on all arms of if-statement Reply-To: Fix checkpatch error: "braces {} should be used on all arms of this statement" by adding the necessary braces around the "if". Signed-off

[PATCH] staging: speakup: (coding style) Rewrite comparisons to NULL

2015-11-19 Thread Christian Colic
linux-ker...@vger.kernel.org Bcc: Subject: [PATCH] staging: speakup: (coding style) Rewrite comparisons to NULL Reply-To: Rewrite comparisons to NULL so they dont show any checkpatch errors anymore. "vc_cons[i].d != NULL" => "vc_cons[i].d" Signed-off-by: Christian Coli

[PATCH] staging: goldfish: (coding style) Rewrite comparisons to NULL as "!data->reg_base"

2015-11-19 Thread Christian Colic
Rewrite comparisons to NULL "data->reg_base == NULL" as "!data->reg_base" to conform to checkpatch. Signed-off-by: Christian Colic --- drivers/staging/goldfish/goldfish_audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging

[PATCH] staging: goldfish: (coding style) Add spaces around the "+" to conform to checkpatch

2015-11-19 Thread Christian Colic
Added a space around the "+" at: "reg_base+addr2" to clear up a checkpatch check. Signed-off-by: Christian Colic --- drivers/staging/goldfish/goldfish_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/goldfish/goldfish_audio.

[PATCH] staging: goldfish: fix checkpatch checks

2015-11-17 Thread Christian Colic
Fix checkpatch checks: spaces around + at "reg_base+addr2" and rewrite comparisons with NULL to "!data->reg_base" Signed-off-by: Christian Colic --- drivers/staging/goldfish/goldfish_audio.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/d

[PATCH] staging: fwserial: (coding-style) rewrite comparisons to NULL as "!fifo->data"

2015-11-17 Thread Christian Colic
Rewrite multiple comparisons to NULL as "!fifo->data" to fix the last coding style problems of this file. Signed-off-by: Christian Colic --- drivers/staging/fwserial/dma_fifo.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/fwserial/

[PATCH] staging: rtl8712: Fix typos and checkpatch warnings.

2015-11-17 Thread Christian Colic
Fix typo SUCESS -> SUCCESS and multiple checkpatch checks (blank line, indentation). Signed-off-by: Christian Colic --- drivers/staging/rtl8712/rtl8712_led.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/driv