All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 5/5] Staging: sm750fb: Correct brace '{' position
@ 2015-03-22  7:57 Amitoj Kaur Chawla
  0 siblings, 0 replies; only message in thread
From: Amitoj Kaur Chawla @ 2015-03-22  7:57 UTC (permalink / raw)
  To: outreachy-kernel

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

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
Changes in v2:
        -Fix commit message 

 drivers/staging/sm750fb/ddk750_chip.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index a1672c8..03d96c0 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -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))
-- 
1.9.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-22  7:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22  7:57 [PATCH v2 5/5] Staging: sm750fb: Correct brace '{' position Amitoj Kaur Chawla

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.