aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-11-09 01:00:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-10 11:13:30 -0800
commit938db28b337b40faa4a5563f2f7e07ebda66ae7b (patch)
tree238106e773dc51f55d49cd9186e4dd00e7ca3ba3 /drivers/staging/vt6655
parentb4f66ad83bcfa45247f5d587168b884435a566c4 (diff)
staging: vt6655: put brace on previous line
Place braces on same line for code statements. Fix the following checkpatch.pl type of error for drivers/staging/vt6655/bssdb.c file: ERROR: that open brace { should be on the previous line Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/bssdb.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c
index ef660cd88d45..3b39cb214418 100644
--- a/drivers/staging/vt6655/bssdb.c
+++ b/drivers/staging/vt6655/bssdb.c
@@ -939,8 +939,7 @@ BSSvSecondCallBack(
cc = true;
} else if (cc == true) {
if (pDevice->bHWRadioOff == true) {
- if (!(pDevice->byGPIO & GPIO0_DATA))
- {
+ if (!(pDevice->byGPIO & GPIO0_DATA)) {
if (status == 1)
goto start;
status = 1;
@@ -951,16 +950,14 @@ BSSvSecondCallBack(
pDevice->bLinkPass = false;
}
- if (pDevice->byGPIO & GPIO0_DATA)
- {
+ if (pDevice->byGPIO & GPIO0_DATA) {
if (status == 2)
goto start;
status = 2;
CARDbRadioPowerOn(pDevice);
}
} else {
- if (pDevice->byGPIO & GPIO0_DATA)
- {
+ if (pDevice->byGPIO & GPIO0_DATA) {
if (status == 3)
goto start;
status = 3;
@@ -971,8 +968,7 @@ BSSvSecondCallBack(
pDevice->bLinkPass = false;
}
- if (!(pDevice->byGPIO & GPIO0_DATA))
- {
+ if (!(pDevice->byGPIO & GPIO0_DATA)) {
if (status == 4)
goto start;
status = 4;
@@ -1321,8 +1317,7 @@ BSSvUpdateNodeTxCounter(
(wRate < RATE_18M)) {
pMgmt->sNodeDBTable[0].uTxFail[wRate] += byTxRetry;
} else if (byFallBack == AUTO_FB_0) {
- for (ii = 0; ii < byTxRetry; ii++)
- {
+ for (ii = 0; ii < byTxRetry; ii++) {
if (ii < 5)
wFallBackRate = awHWRetry0[wRate-RATE_18M][ii];
else