Commit 8332d94c authored by Juston Li's avatar Juston Li Committed by Greg Kroah-Hartman

staging: sm750fb: remove space before close parenthesis

Fixes checkpatch.pl error:
ERROR: space prohibited before that close parenthesis ')'
Signed-off-by: default avatarJuston Li <juston.h.li@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f0ebcc2
...@@ -268,7 +268,7 @@ int ddk750_initHw(initchip_param_t *pInitParam) ...@@ -268,7 +268,7 @@ int ddk750_initHw(initchip_param_t *pInitParam)
#endif #endif
if (pInitParam->powerMode != 0 ) if (pInitParam->powerMode != 0)
pInitParam->powerMode = 0; pInitParam->powerMode = 0;
setPowerMode(pInitParam->powerMode); setPowerMode(pInitParam->powerMode);
......
...@@ -43,7 +43,7 @@ static unsigned long displayControlAdjust_SM750LE(mode_parameter_t *pModeParam, ...@@ -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 */ /* Set bit 29:27 of display control register for the right clock */
/* Note that SM750LE only need to supported 7 resoluitons. */ /* 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); dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL41);
else if (x == 1024 && y == 768) else if (x == 1024 && y == 768)
dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL65); dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL65);
......
...@@ -363,7 +363,7 @@ int hw_imageblit(struct lynx_accel *accel, ...@@ -363,7 +363,7 @@ int hw_imageblit(struct lynx_accel *accel,
Note that input pitch is BYTE value, but the 2D Pitch register uses Note that input pitch is BYTE value, but the 2D Pitch register uses
pixel values. Need Byte to pixel conversion. pixel values. Need Byte to pixel conversion.
*/ */
if(bytePerPixel == 3 ){ if(bytePerPixel == 3){
dx *= 3; dx *= 3;
width *= 3; width *= 3;
startBit *= 3; startBit *= 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment