]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: xgifb: vb_util.h Space after cast
authorWalt Feasel <waltfeasel@gmail.com>
Fri, 18 Nov 2016 01:29:08 +0000 (20:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Nov 2016 13:17:51 +0000 (14:17 +0100)
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>
drivers/staging/xgifb/vb_util.h

index 08db58b396b23f6422c487c7b3dbf4a56d05f956..052694e750539a5e650c067a7bb11010d46eee41 100644 (file)
@@ -18,7 +18,7 @@ static inline void xgifb_reg_and_or(unsigned long port, u8 index,
        u8 temp;
 
        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);
 }
 
@@ -28,7 +28,7 @@ static inline void xgifb_reg_and(unsigned long port, u8 index,
        u8 temp;
 
        temp = xgifb_reg_get(port, index);
-       temp = (u8) (temp & data_and);
+       temp = (u8)(temp & data_and);
        xgifb_reg_set(port, index, temp);
 }