[PATCH v2 3/3] staging: rtl8188eu: spaces preferred around that + inserted

Ivan Safonov insafonov at gmail.com
Thu Oct 8 15:23:35 UTC 2015


This patch inserts spaces preferred around that '+' found by checkpatch.
---
Changes in v2:
  - inserted description to this patch.

---
 drivers/staging/rtl8188eu/hal/bb_cfg.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/bb_cfg.c b/drivers/staging/rtl8188eu/hal/bb_cfg.c
index 88c3ad7..4eb982b 100644
--- a/drivers/staging/rtl8188eu/hal/bb_cfg.c
+++ b/drivers/staging/rtl8188eu/hal/bb_cfg.c
@@ -163,7 +163,7 @@ static bool set_baseband_agc_config(struct adapter *adapt)
 
 	for (i = 0; i < arraylen; i += 2) {
 		u32 v1 = array[i];
-		u32 v2 = array[i+1];
+		u32 v2 = array[i + 1];
 
 		if (v1 < 0xCDCDCDCD) {
 			phy_set_bb_reg(adapt, v1, bMaskDWord, v2);
@@ -398,7 +398,7 @@ static bool set_baseband_phy_config(struct adapter *adapt)
 
 	for (i = 0; i < arraylen; i += 2) {
 		u32 v1 = array[i];
-		u32 v2 = array[i+1];
+		u32 v2 = array[i + 1];
 
 		if (v1 < 0xCDCDCDCD)
 			rtl_bb_delay(adapt, v1, v2);
@@ -580,8 +580,8 @@ static bool config_bb_with_pgheader(struct adapter *adapt)
 
 	for (i = 0; i < arraylen; i += 3) {
 		u32 v1 = array[i];
-		u32 v2 = array[i+1];
-		u32 v3 = array[i+2];
+		u32 v2 = array[i + 1];
+		u32 v3 = array[i + 2];
 
 		if (v1 < 0xCDCDCDCD)
 			rtl_addr_delay(adapt, v1, v2, v3);
-- 
2.4.9



More information about the devel mailing list