staging: xgifb: fix code indent
authorClifton Barnes <clifton.a.barnes@gmail.com>
Sun, 27 Mar 2016 19:13:01 +0000 (15:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:40:20 +0000 (12:40 -0700)
fix checkpatch.pl warning about 'suspect code indent for conditional
statements'

Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c

index 40939c8..cc1ad76 100644 (file)
@@ -108,9 +108,9 @@ static void XGI_SetATTRegs(unsigned short ModeIdIndex,
                        if (pVBInfo->VBInfo & XGI_SetCRT2ToLCDA) {
                                ARdata = 0;
                        } else if ((pVBInfo->VBInfo &
-                                    (SetCRT2ToTV | SetCRT2ToLCD)) &&
-                                   (pVBInfo->VBInfo & SetInSlaveMode)) {
-                                       ARdata = 0;
+                                  (SetCRT2ToTV | SetCRT2ToLCD)) &&
+                                  (pVBInfo->VBInfo & SetInSlaveMode)) {
+                               ARdata = 0;
                        }
                }
 
@@ -2983,7 +2983,7 @@ static void XGI_SetLockRegs(unsigned short ModeNo, unsigned short ModeIdIndex,
 
                if ((pVBInfo->VBInfo & SetCRT2ToHiVision) &&
                    !(pVBInfo->VBType & VB_SIS301LV) && (resinfo == 7))
-                               temp -= 2;
+                       temp -= 2;
        }
 
        /* 0x05 Horizontal Display Start */