[PATCH v2 4/5] staging: rtl8723bs: wifi_regd.c: adjust alignment to match open parenthesis

2017-06-13 Thread Fabian Wolff
This patch adjusts the alignment of several lines to match their respective opening parenthesis. Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- v1->v2: refresh patch drivers/staging/rtl8723bs/os_dep/wifi_regd.c |

[PATCH v2 5/5] staging: rtl8723bs: wifi_regd.c: insert blank line after declarations

2017-06-13 Thread Fabian Wolff
This patch inserts a missing blank line after variable declarations. Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- v1->v2: refresh patch drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 1 + 1 file changed, 1 ins

[PATCH v2 0/5] staging: rtl8723bs: wifi_regd.c: fix checkpatch errors and warnings

2017-06-13 Thread Fabian Wolff
v1->v2: Refresh patches and restrict the first patch to arithmetic operators This patch series fixes all errors and warnings generated by checkpatch.pl for wifi_regd.c. Fabian Wolff (5): staging: rtl8723bs: wifi_regd.c: put spaces around binary operators staging: rtl8723bs: wifi_regd.c:

[PATCH v2 3/5] staging: rtl8723bs: wifi_regd.c: remove superfluous spaces from pointer arguments

2017-06-13 Thread Fabian Wolff
This patch implements the suggestions of checkpatch.pl to remove unnecessary spaces before function pointer arguments as well as in statements of the form "foo * bar" (which should be "foo *bar"). Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Hor

[PATCH v2 2/5] staging: rtl8723bs: wifi_regd.c: fix comment formatting

2017-06-13 Thread Fabian Wolff
This patch improves the formatting of block comments and removes one commented-out line of code entirely (keeping it would be redundant thanks to version control). Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- v1-

[PATCH v2 1/5] staging: rtl8723bs: wifi_regd.c: put spaces around binary operators

2017-06-13 Thread Fabian Wolff
This patch adds spaces around the binary operators '-' and '+'. Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- v1->v2: apply changes only to arithmetic operators drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 6

[PATCH 5/7] staging: rtl8723bs: wifi_regd.c: remove superfluous spaces from pointer arguments

2017-06-12 Thread Fabian Wolff
This patch implements the suggestions of checkpatch.pl to remove unnecessary spaces before function pointer arguments as well as in statements of the form "foo * bar" (which should be "foo *bar"). Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Hor

[PATCH 6/7] staging: rtl8723bs: wifi_regd.c: adjust alignment to match open parenthesis

2017-06-12 Thread Fabian Wolff
This patch adjusts the alignment of several lines to match their respective opening parenthesis. Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 9 + 1 file changed, 5 inse

[PATCH 3/7] staging: rtl8723bs: wifi_regd.c: fix comment formatting

2017-06-12 Thread Fabian Wolff
This patch improves the formatting of block comments and removes one commented-out line of code entirely (keeping it would be redundant thanks to version control). Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- drivers/stagi

[PATCH 4/7] staging: rtl8723bs: wifi_regd.c: remove superfluous braces

2017-06-12 Thread Fabian Wolff
This patch removes unnecessary braces in an if/else-construct, thereby fixing both a checkpatch.pl warning about superfluous braces and an error about an ill-placed closing brace preceding the "else" keyword. Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate

[PATCH 2/7] staging: rtl8723bs: wifi_regd.c: fix checkpatch.pl warning 'Statements should start on a tabstop'

2017-06-12 Thread Fabian Wolff
This patch fixes the checkpatch.pl warning 'Statements should start on a tabstop' by reformatting the affected lines. Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 6 +++--- 1

[PATCH 1/7] staging: rtl8723bs: wifi_regd.c: put spaces around binary operators

2017-06-12 Thread Fabian Wolff
This patch adds spaces around the binary operators '-' and '+', which is the preferred style, and reformats a pointer argument declaration to fix a false positive "spaces preferred around that '*'" message reported by checkpatch.pl. Signed-off-by: Fabian Wolff <fabian.wo...@fau.d

[PATCH 0/7] staging: rtl8723bs: wifi_regd.c: fix checkpatch errors and warnings

2017-06-12 Thread Fabian Wolff
This patch series fixes all errors and warnings generated by checkpatch.pl for wifi_regd.c. Fabian Wolff (7): staging: rtl8723bs: wifi_regd.c: put spaces around binary operators staging: rtl8723bs: wifi_regd.c: fix checkpatch.pl warning 'Statements should start on a tabstop' staging

[PATCH 7/7] staging: rtl8723bs: wifi_regd.c: insert blank line after declarations

2017-06-12 Thread Fabian Wolff
This patch inserts a missing blank line after variable declarations. Signed-off-by: Fabian Wolff <fabian.wo...@fau.de> Signed-off-by: Mate Horvath <horvatm...@gmail.com> --- drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/stagi