Staging: sm750fb: Correct brace '{' position
Subsystems (2)
PATCH 5/5 Staging: sm750fb: Correct brace '{' position
Fixes checkpatch.pl error by placing the brace '{' in the correct position after if statement.
ERROR: that open brace { should be on the previous line
Signed-off-by Amitoj Kaur Chawla <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -2
@@ -191,8 +191,7 @@ void setMasterClock(unsigned int frequency)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. */ if (frequency >MHz (190 ))
Signature · 1 line
1.9.1
Quoted 2 lines · Amitoj Kaur Chawla
Fixes checkpatch.pl error by placing the brace '{' in the correct position after if statement.
"correct position" is not very informative. This could be: Move if brance brace to the if header line. Problem found using checkpatch.
julia
Quoted 31 lines
ERROR: that open brace { should be on the previous line
Signed-off-by Amitoj Kaur Chawla <[email protected]>--- drivers/staging/sm750fb/ddk750_chip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/sm750fb/ddk750_chip.c +1
-2@@ -191,8 +191,7 @@ void setMasterClock(unsigned int frequency)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. */ if (frequency >MHz (190 ))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/20150322043407.GA30227%40amitoj-Inspiron-3542. For more options, visit https://groups.google.com/d/optout.