Skip to contentSkip to conversation

Staging: sm750fb: Use tabs for code indents

PATCH In review Amitoj Kaur Chawla 1 participant 1 message Mar 22, 2015

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

PATCH 2/5 Staging: sm750fb: Use tabs for code indents

Fixes checkpatch.pl error by using tabs for code indents.
ERROR: code indent should use tabs where possible

---
 drivers/staging/sm750fb/ddk750_chip.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +5 -5
index b1fbccf..5020280 100644
@@ -149,12 +149,12 @@ void setMemoryClock(unsigned int frequency)
 	if (frequency > MHz(336))
 		frequency = MHz(336);
 
-        /* Calculate the divisor */
-        divisor = (unsigned int) roundedDiv(getChipClock(), frequency);
+	/* Calculate the divisor */
+	divisor = (unsigned int) roundedDiv(getChipClock(), frequency);
 
-        /* Set the corresponding divisor in the register. */
-        ulReg = PEEK32(CURRENT_GATE);
-        switch(divisor) {
+	/* Set the corresponding divisor in the register. */
+	ulReg = PEEK32(CURRENT_GATE);
+	switch(divisor) {
             default:
             case 1:
                 ulReg = FIELD_SET(ulReg, CURRENT_GATE, M2XCLK, DIV_1);
Signature · 1 line
1.9.1