Skip to contentSkip to conversation

Staging: sm750fb: Remove spaces in front of lines

PATCH In review Amitoj Kaur Chawla 2 participants 2 messages Mar 22, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/5 Staging: sm750fb: Remove spaces in front of lines

Fixes checkpatch.pl warning by using tabs instead of spaces.
WARNING: please, no spaces at the start of a line.

---
 drivers/staging/sm750fb/ddk750_chip.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +4 -4
index 0b6baae..a1672c8 100644
@@ -170,8 +170,8 @@ void setMemoryClock(unsigned int frequency)
 		break;
 	}
 
-        setCurrentGate(ulReg);
-    }
+	setCurrentGate(ulReg);
+	}
 }
 
 
@@ -185,13 +185,13 @@ void setMemoryClock(unsigned int frequency)
  */
 void setMasterClock(unsigned int frequency)
 {
-    unsigned int ulReg, divisor;
+	unsigned int ulReg, divisor;
   #if 1
 	/* Cheok_0509: For SM750LE, the memory clock is fixed. Nothing to set. */
 	if (getChipType() == SM750LE)
 		return;
 #endif
-    if (frequency != 0)
+	if (frequency != 0)
     {
         /* Set the frequency to the maximum frequency that the SM750 engine can
            run, which is about 190 MHz. */
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Amitoj Kaur Chawla

Fixes checkpatch.pl warning by using tabs instead of spaces.

This could be: Replace spaces by tabs. Problem found using checkpatch:

That is, it is more interesting to now what you have done than that it was in response to checkpatch, so it is better to put what you have done first.

julia

Quoted 48 lines

WARNING: please, no spaces at the start of a line.

---
 drivers/staging/sm750fb/ddk750_chip.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +4 -4
index 0b6baae..a1672c8 100644
@@ -170,8 +170,8 @@ void setMemoryClock(unsigned int frequency)
 		break;
 	}
 
-        setCurrentGate(ulReg);
-    }
+	setCurrentGate(ulReg);
+	}
 }
 
 
@@ -185,13 +185,13 @@ void setMemoryClock(unsigned int frequency)
  */
 void setMasterClock(unsigned int frequency)
 {
-    unsigned int ulReg, divisor;
+	unsigned int ulReg, divisor;
   #if 1
 	/* Cheok_0509: For SM750LE, the memory clock is fixed. Nothing to set. */
 	if (getChipType() == SM750LE)
 		return;
 #endif
-    if (frequency != 0)
+	if (frequency != 0)
     {
         /* Set the frequency to the maximum frequency that the SM750 engine can
            run, which is about 190 MHz. */
Signature · 8 lines
1.9.1

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20150322042718.GA30193%40amitoj-Inspiron-3542.
For more options, visit https://groups.google.com/d/optout.