Staging: sm750fb: Remove spaces in front of lines
Subsystems (2)
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.
Signed-off-by Amitoj Kaur Chawla <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +4 -4
@@ -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
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.
Signed-off-by Amitoj Kaur Chawla <[email protected]>--- drivers/staging/sm750fb/ddk750_chip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/staging/sm750fb/ddk750_chip.c +4
-4@@ -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.