瀏覽代碼

staging: xgifb: vb_util.h Space after cast

Make suggested checkpatch modification for
CHECK: No space is necessary after a cast

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Walt Feasel 8 年之前
父節點
當前提交
2a3d10798b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/staging/xgifb/vb_util.h

+ 2 - 2
drivers/staging/xgifb/vb_util.h

@@ -18,7 +18,7 @@ static inline void xgifb_reg_and_or(unsigned long port, u8 index,
 	u8 temp;
 	u8 temp;
 
 
 	temp = xgifb_reg_get(port, index);
 	temp = xgifb_reg_get(port, index);
-	temp = (u8) ((temp & data_and) | data_or);
+	temp = (u8)((temp & data_and) | data_or);
 	xgifb_reg_set(port, index, temp);
 	xgifb_reg_set(port, index, temp);
 }
 }
 
 
@@ -28,7 +28,7 @@ static inline void xgifb_reg_and(unsigned long port, u8 index,
 	u8 temp;
 	u8 temp;
 
 
 	temp = xgifb_reg_get(port, index);
 	temp = xgifb_reg_get(port, index);
-	temp = (u8) (temp & data_and);
+	temp = (u8)(temp & data_and);
 	xgifb_reg_set(port, index, temp);
 	xgifb_reg_set(port, index, temp);
 }
 }