Commit c3f0692a authored by Clifton Barnes's avatar Clifton Barnes Committed by Greg Kroah-Hartman

staging: xgifb: fix code indent

fix checkpatch.pl warning about 'suspect code indent for conditional
statements'
Signed-off-by: default avatarClifton Barnes <clifton.a.barnes@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d3d62d1d
...@@ -108,9 +108,9 @@ static void XGI_SetATTRegs(unsigned short ModeIdIndex, ...@@ -108,9 +108,9 @@ static void XGI_SetATTRegs(unsigned short ModeIdIndex,
if (pVBInfo->VBInfo & XGI_SetCRT2ToLCDA) { if (pVBInfo->VBInfo & XGI_SetCRT2ToLCDA) {
ARdata = 0; ARdata = 0;
} else if ((pVBInfo->VBInfo & } else if ((pVBInfo->VBInfo &
(SetCRT2ToTV | SetCRT2ToLCD)) && (SetCRT2ToTV | SetCRT2ToLCD)) &&
(pVBInfo->VBInfo & SetInSlaveMode)) { (pVBInfo->VBInfo & SetInSlaveMode)) {
ARdata = 0; ARdata = 0;
} }
} }
...@@ -2983,7 +2983,7 @@ static void XGI_SetLockRegs(unsigned short ModeNo, unsigned short ModeIdIndex, ...@@ -2983,7 +2983,7 @@ static void XGI_SetLockRegs(unsigned short ModeNo, unsigned short ModeIdIndex,
if ((pVBInfo->VBInfo & SetCRT2ToHiVision) && if ((pVBInfo->VBInfo & SetCRT2ToHiVision) &&
!(pVBInfo->VBType & VB_SIS301LV) && (resinfo == 7)) !(pVBInfo->VBType & VB_SIS301LV) && (resinfo == 7))
temp -= 2; temp -= 2;
} }
/* 0x05 Horizontal Display Start */ /* 0x05 Horizontal Display Start */
......
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