staging: sm750fb: remove space before close parenthesis
authorJuston Li <juston.h.li@gmail.com>
Wed, 15 Jul 2015 04:14:32 +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 prohibited before that close parenthesis ')'

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

index 1069a2d3186f8c2c4132f688f3c4e162eb6b7f7a..fb1c533c01800e65e9ce91f6808f602121df0334 100644 (file)
@@ -268,7 +268,7 @@ int ddk750_initHw(initchip_param_t *pInitParam)
 #endif
 
 
-       if (pInitParam->powerMode != 0 )
+       if (pInitParam->powerMode != 0)
                pInitParam->powerMode = 0;
        setPowerMode(pInitParam->powerMode);
 
index 31424b2b763557f0ec99901ea7de6d525dcae380..4ee9ceb475cb3719bbc0367e1a1be3f8e5f5703e 100644 (file)
@@ -43,7 +43,7 @@ static unsigned long displayControlAdjust_SM750LE(mode_parameter_t *pModeParam,
 
        /* Set bit 29:27 of display control register for the right clock */
        /* Note that SM750LE only need to supported 7 resoluitons. */
-       if (x == 800 && y == 600 )
+       if (x == 800 && y == 600)
                dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL41);
        else if (x == 1024 && y == 768)
                dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL65);
index 64d0458190c80388255ff0b8202cba315d283299..10cc0223eae34ba57514929ba6c4aad5744764be 100644 (file)
@@ -363,7 +363,7 @@ int hw_imageblit(struct lynx_accel *accel,
        Note that input pitch is BYTE value, but the 2D Pitch register uses
        pixel values. Need Byte to pixel conversion.
     */
-       if(bytePerPixel == 3 ){
+       if(bytePerPixel == 3){
                dx *= 3;
                width *= 3;
                startBit *= 3;