Skip to contentSkip to conversation

Staging: sm750fb: Remove spaces before lines

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

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

PATCH 1/5 Staging: sm750fb: Remove spaces before 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 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +6 -6
index 9105c0e..b1fbccf 100644
@@ -137,17 +137,17 @@ void setChipClock(unsigned int frequency)
 
 void setMemoryClock(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) {
-        /* Set the frequency to the maximum frequency that the DDR Memory can take
-           which is 336MHz. */
-        if (frequency > MHz(336))
-            frequency = MHz(336);
+	if (frequency != 0) {
+		/* Set the frequency to the maximum frequency that the DDR
+		Memory can take which is 336MHz. */
+	if (frequency > MHz(336))
+		frequency = MHz(336);
 
         /* Calculate the divisor */
         divisor = (unsigned int) roundedDiv(getChipClock(), frequency);
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 23 lines · Amitoj Kaur Chawla

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 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -1
index 9105c0e..b1fbccf 100644
@@ -137,17 +137,17 @@ void setChipClock(unsigned int frequency)
 
 void setMemoryClock(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

drivers/staging/sm750fb/ddk750_chip.c void setChipClock(unsigned int frequency) · line 150

Quoted 10 lines
drivers/staging/sm750fb/ddk750_chip.c +5 -5
-    if (frequency != 0) {
-        /* Set the frequency to the maximum frequency that the DDR Memory can take
-           which is 336MHz. */
-        if (frequency > MHz(336))
-            frequency = MHz(336);
+	if (frequency != 0) {
+		/* Set the frequency to the maximum frequency that the DDR
+		Memory can take which is 336MHz. */
+	if (frequency > MHz(336))
+		frequency = MHz(336);

That doesn't look correct to me, does it to you?