Staging: sm750fb: Remove spaces before lines
Subsystems (2)
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.
Signed-off-by Amitoj Kaur Chawla <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +6 -6
@@ -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
Greg KH
maintainerQuoted 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.Signed-off-by Amitoj Kaur Chawla <[email protected]>--- drivers/staging/sm750fb/ddk750_chip.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/staging/sm750fb/ddk750_chip.c +1
-1@@ -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?