Skip to contentSkip to conversation

staging: sm750fb: Move misplaced open brace to previous line

PATCH In review Marianne Moeller Knudsen 2 participants 2 messages Mar 20, 2015 – Mar 23, 2015

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

PATCH 1/1 staging: sm750fb: Move misplaced open brace to previous line

Move open brace { to same line as statement. Issue found by checkpatch.

---
 drivers/staging/sm750fb/ddk750_chip.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -2
index 33add64..0392020 100644
@@ -118,8 +118,7 @@ void setChipClock(unsigned int frequency)
 			return;
 #endif
 
-    if (frequency != 0)
-    {
+    if (frequency != 0) {
         /*
          * Set up PLL, a structure to hold the value to be set in clocks.
          */
Signature · 1 line
1.7.10.4
maintainer
#1 lore raw
Quoted 12 lines · Marianne Moeller Knudsen

Move open brace { to same line as statement. Issue found by checkpatch.

---
 drivers/staging/sm750fb/ddk750_chip.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +0 -0
index 33add64..0392020 100644

drivers/staging/sm750fb/ddk750_chip.c void setChipClock(unsigned int frequency) · line 124

Quoted 9 lines
drivers/staging/sm750fb/ddk750_chip.c +1 -2
@@ -118,8 +118,7 @@ void setChipClock(unsigned int frequency)
 			return;
 #endif
 
-    if (frequency != 0)
-    {
+    if (frequency != 0) {
         /*
          * Set up PLL, a structure to hold the value to be set in clocks.
          */

This doesn't apply to my tree, and neither did any of the other patches you sent me for this driver :(

Please sync up on the proper git tree and resend _ALL_ of your patches, in a patch series, so that I have a chance to be able to apply them.

thanks,

greg k-h