Skip to contentSkip to conversation

Staging: sm750fb: Correct brace '{' position

PATCH New Amitoj Kaur Chawla 1 participant 1 message Mar 22, 2015

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

PATCH v2 5/5 Staging: sm750fb: Correct brace '{' position

Move if brace to the if header line. Problem found using checkpatch.pl
ERROR: that open brace { should be on the previous line

---
Changes in v2:
-Fix commit message

 drivers/staging/sm750fb/ddk750_chip.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -2
index a1672c8..03d96c0 100644
@@ -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