]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: sm750fb: add space after close brace
authorJuston Li <juston.h.li@gmail.com>
Wed, 15 Jul 2015 04:14:36 +0000 (21:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 05:52:00 +0000 (22:52 -0700)
Fixes checkpatch.pl error:
ERROR: space required after that 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
drivers/staging/sm750fb/ddk750_mode.c
drivers/staging/sm750fb/ddk750_power.c
drivers/staging/sm750fb/sm750.h
drivers/staging/sm750fb/sm750_cursor.c

index c7171a4299a0da7c175dc22b85231e9054acc277..4a3cb8654888864283a5c717348606ce9a01b1ca 100644 (file)
@@ -166,7 +166,7 @@ static void waitNextVerticalSync(int ctrl, int delay)
                        while (status == SYSTEM_CTRL_PANEL_VSYNC_INACTIVE);
                }
 
-       }else {
+       } else {
 
                /* Do not wait when the Primary PLL is off or display control is already off.
                           This will prevent the software to wait forever. */
index efc1fabf60edc4eb59a7ba99b987a9dac0bcec0a..3d8b06d2ea630c025b360890179649df83e1a9f0 100644 (file)
@@ -109,7 +109,7 @@ static int programModeRegisters(mode_parameter_t *pModeParam, pll_value_t *pll)
 
                if (getChipType() == SM750LE) {
                        displayControlAdjust_SM750LE(pModeParam, ulTmpValue);
-               }else {
+               } else {
                        ulReg = PEEK32(CRT_DISPLAY_CTRL)
                                        & FIELD_CLEAR(CRT_DISPLAY_CTRL, VSYNC_PHASE)
                                        & FIELD_CLEAR(CRT_DISPLAY_CTRL, HSYNC_PHASE)
index e2c0bb328106a2aa00d7204e6379249c51d30cfa..5f697b838651e5da39abd8d1387cb5d3c99e63df 100644 (file)
@@ -8,7 +8,7 @@ void ddk750_setDPMS(DPMS_t state)
        if (getChipType() == SM750LE) {
                value = PEEK32(CRT_DISPLAY_CTRL);
                POKE32(CRT_DISPLAY_CTRL, FIELD_VALUE(value, CRT_DISPLAY_CTRL, DPMS, state));
-       }else {
+       } else {
                value = PEEK32(SYSTEM_CTRL);
                value= FIELD_VALUE(value, SYSTEM_CTRL, DPMS, state);
                POKE32(SYSTEM_CTRL, value);
index 71e9a7a3aabb54ced77b2969e780fd1f93c834f2..8ac541015d1aa9c2424b980505b0bfba87e22168 100644 (file)
@@ -53,7 +53,7 @@ struct lynx_share{
                int mtrr_off;
                struct{
                        int vram;
-               }mtrr;
+               } mtrr;
        /* all smi graphic adaptor got below attributes */
        unsigned long vidmem_start;
        unsigned long vidreg_start;
index 3a21af94dc4798ac1c2996fcdaf39811b071a916..2fcec326fcf36f567c075feace7f4557df63a654 100644 (file)
@@ -143,7 +143,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor,
                        if (opr & (0x80 >> j))
                        {       /* use fg color,id = 2 */
                                data |= 2 << (j*2);
-                       }else {
+                       } else {
                                /* use bg color,id = 1 */
                                data |= 1 << (j*2);
                        }
@@ -173,7 +173,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor,
                        /* need a return */
                        pstart += offset;
                        pbuffer = pstart;
-               }else {
+               } else {
                        pbuffer += sizeof(u16);
                }
 
@@ -223,7 +223,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor,
                        if (opr & (0x80 >> j))
                        {       /* use fg color,id = 2 */
                                data |= 2 << (j*2);
-                       }else {
+                       } else {
                                /* use bg color,id = 1 */
                                data |= 1 << (j*2);
                        }
@@ -242,7 +242,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor,
                        /* need a return */
                        pstart += offset;
                        pbuffer = pstart;
-               }else {
+               } else {
                        pbuffer += sizeof(u16);
                }