staging:xgifb:vb_setmode.c Align match parenthesis
PATCH 15/20 staging:xgifb:vb_setmode.c Align match parenthesis
Make suggested modification from checkpatch in reference to CHECK: Alignment should match open parenthesis
Signed-off-by Walt Feasel <[email protected]>
--- drivers/staging/xgifb/vb_setmode.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-)
drivers/staging/xgifb/vb_setmode.c +18 -18
@@ -2224,7 +2224,7 @@ static unsigned char XGI_XG27GetPSCValue(struct vb_device_info *pVBInfo)/* 000001b : clear bit 0, to set bit0 */ /*----------------------------------------------------------------------------*/ static void XGI_XG21BLSignalVDD (unsigned short tempbh,unsigned short tempbl, -struct vb_device_info *pVBInfo) +struct vb_device_info *pVBInfo) {unsigned char CR4A , temp;
@@ -2249,7 +2249,7 @@ static void XGI_XG21BLSignalVDD(unsigned short tempbh, unsigned short tempbl, }static void XGI_XG27BLSignalVDD (unsigned short tempbh,unsigned short tempbl, -struct vb_device_info *pVBInfo) +struct vb_device_info *pVBInfo) {unsigned char CR4A , temp;unsigned short tempbh0, tempbl0;
@@ -2279,8 +2279,8 @@ static void XGI_XG27BLSignalVDD(unsigned short tempbh, unsigned short tempbl, }static void XGI_DisplayOn (struct xgifb_video_info *xgifb_info, -struct xgi_hw_device_info *pXGIHWDE, -struct vb_device_info *pVBInfo) +struct xgi_hw_device_info *pXGIHWDE, +struct vb_device_info *pVBInfo) {xgifb_reg_and_or (pVBInfo->P3c4,0x01 ,0xDF ,0x00 );if (pXGIHWDE->jChipType ==XG21 ) {
@@ -2323,8 +2323,8 @@ static void XGI_DisplayOn(struct xgifb_video_info *xgifb_info, }void XGI_DisplayOff (struct xgifb_video_info *xgifb_info, -struct xgi_hw_device_info *pXGIHWDE, -struct vb_device_info *pVBInfo) +struct xgi_hw_device_info *pXGIHWDE, +struct vb_device_info *pVBInfo) {if (pXGIHWDE->jChipType ==XG21 ) {if (pVBInfo->IF_DEF_LVDS ==1 ) {
@@ -2443,7 +2443,7 @@ static void XGI_GetCRT2ResInfo(unsigned short ModeIdIndex,static unsigned char XGI_IsLCDDualLink (struct vb_device_info *pVBInfo) {if ((pVBInfo->VBInfo & (SetCRT2ToLCD | XGI_SetCRT2ToLCDA)) && - (pVBInfo->LCDInfo & SetLCDDualLink))/* shampoo0129 */ + (pVBInfo->LCDInfo & SetLCDDualLink))/* shampoo0129 */ return 1 ;return 0 ;
@@ -2492,8 +2492,8 @@ static void XGI_GetRAMDAC2DATA(unsigned short ModeIdIndex, }static void XGI_GetCRT2Data (unsigned short ModeIdIndex, -unsigned short RefreshRateTableIndex, -struct vb_device_info *pVBInfo) +unsigned short RefreshRateTableIndex, +struct vb_device_info *pVBInfo) {unsigned short tempax =0 , tempbx =0 , modeflag, resinfo;
@@ -2662,8 +2662,8 @@ static void XGI_GetCRT2Data(unsigned short ModeIdIndex, }static void XGI_SetCRT2VCLK (unsigned short ModeIdIndex, -unsigned short RefreshRateTableIndex, -struct vb_device_info *pVBInfo) +unsigned short RefreshRateTableIndex, +struct vb_device_info *pVBInfo) {unsigned char di_0, di_1, tempal;
@@ -2734,9 +2734,9 @@ static unsigned short XGI_GetOffset(unsigned short ModeNo, }static void XGI_SetCRT2Offset (unsigned short ModeNo, -unsigned short ModeIdIndex, -unsigned short RefreshRateTableIndex, -struct vb_device_info *pVBInfo) +unsigned short ModeIdIndex, +unsigned short RefreshRateTableIndex, +struct vb_device_info *pVBInfo) {unsigned short offset;unsigned char temp;
@@ -2762,8 +2762,8 @@ static void XGI_SetCRT2FIFO(struct vb_device_info *pVBInfo) }static void XGI_PreSetGroup1 (unsigned short ModeNo,unsigned short ModeIdIndex, -unsigned short RefreshRateTableIndex, -struct vb_device_info *pVBInfo) +unsigned short RefreshRateTableIndex, +struct vb_device_info *pVBInfo) {u8 tempcx;
@@ -2778,8 +2778,8 @@ static void XGI_PreSetGroup1(unsigned short ModeNo, unsigned short ModeIdIndex, }static void XGI_SetGroup1 (unsigned short ModeIdIndex, -unsigned short RefreshRateTableIndex, -struct vb_device_info *pVBInfo) +unsigned short RefreshRateTableIndex, +struct vb_device_info *pVBInfo) {unsigned short temp =0 , tempax =0 , tempbx =0 , tempcx =0 , pushbx =0 , CRT1Index, modeflag;
Signature · 1 line
2.1.4