OSDN Git Service

staging: xgifb: vb_init.c Logical continuation
authorWalt Feasel <waltfeasel@gmail.com>
Thu, 17 Nov 2016 03:04:12 +0000 (22:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Nov 2016 15:32:32 +0000 (16:32 +0100)
Make suggested checkpatch modification for:
CHECK: Logical continuations should be on the previous line.

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c

index 062ece2..55978c1 100644 (file)
@@ -1039,8 +1039,9 @@ static void XGINew_SetModeScratch(struct vb_device_info *pVBInfo)
        }
 
        tempcl |= SetSimuScanMode;
-       if ((!(temp & ActiveCRT1)) && ((temp & ActiveLCD) || (temp & ActiveTV)
-                       || (temp & ActiveCRT2)))
+       if ((!(temp & ActiveCRT1)) && ((temp & ActiveLCD) ||
+                                      (temp & ActiveTV) ||
+                                      (temp & ActiveCRT2)))
                tempcl ^= (SetSimuScanMode | SwitchCRT2);
        if ((temp & ActiveLCD) && (temp & ActiveTV))
                tempcl ^= (SetSimuScanMode | SwitchCRT2);