Skip to contentSkip to conversation

staging: vt6655: Fixed two lines over 80 characters

PATCH In review Arjun Krishna Babu 2 participants 2 messages Sep 29, 2015 – Sep 30, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6655: Fixed two lines over 80 characters

Two lines of code that were over 80 characters long is fixed by splitting them into multiple lines.

This way, the lines of code are now easier to read.

Issue found by checkpatch.

---
 drivers/staging/vt6655/baseband.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
drivers/staging/vt6655/baseband.c +11 -2
index 9e61f2d..3639f9d 100644
@@ -2089,9 +2089,18 @@ bool BBbVT3253Init(struct vnt_private *priv)
 				byVT3253B0_UW2451[ii][0],
 				byVT3253B0_UW2451[ii][1]);
 
-		/* Init ANT B select,TX Config CR09 = 0x61->0x45, 0x45->0x41(VC1/VC2 define, make the ANT_A, ANT_B inverted) */
+		/* Init ANT B select,
+		 * TX Config CR09 = 0x61->0x45, 
+		 * 0x45->0x41(VC1/VC2 define, make the ANT_A, ANT_B inverted)
+		 */
+
 		/*bResult &= BBbWriteEmbedded(dwIoBase,0x09,0x41);*/
-		/* Init ANT B select,RX Config CR10 = 0x28->0x2A, 0x2A->0x28(VC1/VC2 define, make the ANT_A, ANT_B inverted) */
+
+		/* Init ANT B select,
+		 * RX Config CR10 = 0x28->0x2A, 
+		 * 0x2A->0x28(VC1/VC2 define, make the ANT_A, ANT_B inverted) 
+		 */
+
 		/*bResult &= BBbWriteEmbedded(dwIoBase,0x0a,0x28);*/
 		/* Select VC1/VC2, CR215 = 0x02->0x06 */
 		bResult &= BBbWriteEmbedded(priv, 0xd7, 0x06);
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 24 lines · Arjun Krishna Babu

Two lines of code that were over 80 characters long is fixed by splitting them into multiple lines.

This way, the lines of code are now easier to read.

Issue found by checkpatch.

---
 drivers/staging/vt6655/baseband.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
drivers/staging/vt6655/baseband.c +3 -1
index 9e61f2d..3639f9d 100644
@@ -2089,9 +2089,18 @@ bool BBbVT3253Init(struct vnt_private *priv)
 				byVT3253B0_UW2451[ii][0],
 				byVT3253B0_UW2451[ii][1]);
 
-		/* Init ANT B select,TX Config CR09 = 0x61->0x45, 0x45->0x41(VC1/VC2 define, make the ANT_A, ANT_B inverted) */
+		/* Init ANT B select,
+		 * TX Config CR09 = 0x61->0x45, 
+		 * 0x45->0x41(VC1/VC2 define, make the ANT_A, ANT_B inverted)

drivers/staging/vt6655/baseband.c bool BBbVT3253Init(struct vnt_private *priv) · line 2103

Quoted 10 lines
drivers/staging/vt6655/baseband.c +8 -1
+		 */
+
 		/*bResult &= BBbWriteEmbedded(dwIoBase,0x09,0x41);*/
-		/* Init ANT B select,RX Config CR10 = 0x28->0x2A, 0x2A->0x28(VC1/VC2 define, make the ANT_A, ANT_B inverted) */
+
+		/* Init ANT B select,
+		 * RX Config CR10 = 0x28->0x2A, 
+		 * 0x2A->0x28(VC1/VC2 define, make the ANT_A, ANT_B inverted) 
+		 */
+

Please always run your patches through checkpatch.pl, so that you don't get an email from the maintainers saying that you need to run your patch through checkpatch.pl.

thanks,

greg k-h