All of lore.kernel.org
 help / color / mirror / Atom feed
* [Outreachy kernel][PATCH 1/5] Staging: sm750fb: Remove spaces before lines
@ 2015-03-22  3:29 Amitoj Kaur Chawla
  2015-03-23 21:28 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Amitoj Kaur Chawla @ 2015-03-22  3:29 UTC (permalink / raw)
  To: outreachy-kernel

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

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
 drivers/staging/sm750fb/ddk750_chip.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 9105c0e..b1fbccf 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -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);
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-23 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-22  3:29 [Outreachy kernel][PATCH 1/5] Staging: sm750fb: Remove spaces before lines Amitoj Kaur Chawla
2015-03-23 21:28 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.