]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: sm750fb: move while to follow do close brace
authorJuston Li <juston.h.li@gmail.com>
Wed, 15 Jul 2015 04:14:46 +0000 (21:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 05:52:52 +0000 (22:52 -0700)
Fixes checkpatch.pl error:
ERROR: while should follow close brace '}'

Signed-off-by: Juston Li <juston.h.li@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_display.c

index a64ea32b91ae81e703f7051cb089bf18155f223b..abd628343fed12ae4ee528cf7b293ec1198f2ba4 100644 (file)
@@ -139,16 +139,14 @@ static void waitNextVerticalSync(int ctrl, int delay)
                                status = FIELD_GET(PEEK32(SYSTEM_CTRL),
                                                   SYSTEM_CTRL,
                                                   PANEL_VSYNC);
-                       }
-                       while (status == SYSTEM_CTRL_PANEL_VSYNC_ACTIVE);
+                       } while (status == SYSTEM_CTRL_PANEL_VSYNC_ACTIVE);
 
                        /* Wait for start of vsync. */
                        do {
                                status = FIELD_GET(PEEK32(SYSTEM_CTRL),
                                                   SYSTEM_CTRL,
                                                   PANEL_VSYNC);
-                       }
-                       while (status == SYSTEM_CTRL_PANEL_VSYNC_INACTIVE);
+                       } while (status == SYSTEM_CTRL_PANEL_VSYNC_INACTIVE);
                }
 
        } else {
@@ -168,16 +166,14 @@ static void waitNextVerticalSync(int ctrl, int delay)
                                status = FIELD_GET(PEEK32(SYSTEM_CTRL),
                                                                   SYSTEM_CTRL,
                                                                   CRT_VSYNC);
-                       }
-                       while (status == SYSTEM_CTRL_CRT_VSYNC_ACTIVE);
+                       } while (status == SYSTEM_CTRL_CRT_VSYNC_ACTIVE);
 
                        /* Wait for start of vsync. */
                        do {
                                status = FIELD_GET(PEEK32(SYSTEM_CTRL),
                                                                   SYSTEM_CTRL,
                                                                   CRT_VSYNC);
-                       }
-                       while (status == SYSTEM_CTRL_CRT_VSYNC_INACTIVE);
+                       } while (status == SYSTEM_CTRL_CRT_VSYNC_INACTIVE);
                }
        }
 }