Commit 2a3d1079 authored by Walt Feasel's avatar Walt Feasel Committed by Greg Kroah-Hartman

staging: xgifb: vb_util.h Space after cast

Make suggested checkpatch modification for
CHECK: No space is necessary after a cast
Signed-off-by: default avatarWalt Feasel <waltfeasel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent df5d4312
...@@ -18,7 +18,7 @@ static inline void xgifb_reg_and_or(unsigned long port, u8 index, ...@@ -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, ...@@ -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);
} }
......
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