[PATCH 11/11] staging: sm750fb: add required spaces around C operators

2015-06-28 Thread Anatoly Stepanov
Add spaces according to checkpatch.pl messages: "ERROR: spaces required around that '=' (ctx:VxV)" "ERROR: need consistent spacing around '-' (ctx:WxV)" "ERROR: spaces required around that '?' (ctx:VxE)" "ERROR: need consiste

[PATCH 09/11] staging: sm750fb: remove assignment from if condition

2015-06-28 Thread Anatoly Stepanov
Remove assignment from if condition according to checkpatch.pl message: "ERROR: do not use assignment in if condition" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH 06/11] staging: sm750fb: put open brace on the previous line

2015-06-28 Thread Anatoly Stepanov
Fix open braces according to checkpatch.pl message: "ERROR: that open brace { should be on the previous line" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drive

[PATCH 08/11] staging: sm750fb: fix 'switch and case' indentation

2015-06-28 Thread Anatoly Stepanov
Fix according to checkpatch.pl message: "ERROR: switch and case should be at the same indent" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 172 ++--- 1 file changed, 86 insertions(+), 86 deletions(-) diff --git a/drive

[PATCH 04/11] staging: sm750fb: insert space before open parenthesis

2015-06-28 Thread Anatoly Stepanov
Insert spaces before '(' according to checkpatch.pl message: "ERROR: space required before the open parenthesis" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 62 +++--- 1 file changed, 31 insertions(+), 31 deleti

[PATCH 10/11] staging: sm750fb: fix open brace in function declaration

2015-06-28 Thread Anatoly Stepanov
Fix according to checkpatch.pl message: "ERROR: open brace '{' following function declarations go on the next line" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/stagin

[PATCH 07/11] staging: sm750fb: fix indentation in 'else' statements

2015-06-28 Thread Anatoly Stepanov
Fix indentation according to checkpatch.pl message: "ERROR: space required after that close brace '}'" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/stagin

[PATCH 03/11] staging: sm750fb: insert space between ')' and '{'

2015-06-28 Thread Anatoly Stepanov
Insert spaces according to checkpatch.pl message: "ERROR: space required before the open brace '{'" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 40 +++--- 1 file changed, 20 insertions(+), 20 deletions(-)

[PATCH 05/11] staging: sm750fb: fix indentation of pointer operator

2015-06-28 Thread Anatoly Stepanov
Fix indentation of pointer operator '*' according to checkpatch.pl message: "ERROR: 'foo* bar' should be 'foo *bar' " Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 26 +- 1 file changed, 13 insertions(+

[PATCH 02/11] staging: sm750fb: remove trailing whitespaces

2015-06-28 Thread Anatoly Stepanov
Remove trailing whitespaces according to checkpatch.pl error message: "ERROR: trailing whitespace" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/drivers/stagi

[PATCH 01/11] staging: sm750fb: replace spaces with tabs

2015-06-28 Thread Anatoly Stepanov
Replace spaces with tabs according to checkpatch.pl error message: "ERROR: code indent should use tabs where possible" Signed-off-by: Anatoly Stepanov --- drivers/staging/sm750fb/sm750_hw.c | 70 +++--- 1 file changed, 35 insertions(+), 35 deletion

[PATCH 00/11] staging: sm750fb: fix checkpatch issues

2015-06-28 Thread Anatoly Stepanov
This patch series fixes chekpatch.pl errors in sm750fb. Anatoly Stepanov (11): staging: sm750fb: replace spaces with tabs staging: sm750fb: remove trailing whitespaces staging: sm750fb: insert space between ')' and '{' staging: sm750fb: insert space before open p