]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: nvec: Add space around '<<'
authorBurcin Akalin <brcnakalin@gmail.com>
Thu, 29 Oct 2015 23:49:01 +0000 (02:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
Add space around operator '<<'. Problem found using
checkpatch.pl
CHECK: spaces preferred around that '<<' (ctx:VxV)

Signed-off-by: Burcin Akalin <brcnakalin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c

index ba030ab22e9ba126f28238d22bd8496ed907e1e4..4ae44a5168f94778c9ad3fec504f37608b63055d 100644 (file)
 #include "nvec.h"
 
 #define I2C_CNFG                       0x00
-#define I2C_CNFG_PACKET_MODE_EN                (1<<10)
-#define I2C_CNFG_NEW_MASTER_SFM                (1<<11)
+#define I2C_CNFG_PACKET_MODE_EN                (1 << 10)
+#define I2C_CNFG_NEW_MASTER_SFM                (1 << 11)
 #define I2C_CNFG_DEBOUNCE_CNT_SHIFT    12
 
 #define I2C_SL_CNFG            0x20
-#define I2C_SL_NEWSL           (1<<2)
-#define I2C_SL_NACK            (1<<1)
-#define I2C_SL_RESP            (1<<0)
-#define I2C_SL_IRQ             (1<<3)
-#define END_TRANS              (1<<4)
-#define RCVD                   (1<<2)
-#define RNW                    (1<<1)
+#define I2C_SL_NEWSL           (1 << 2)
+#define I2C_SL_NACK            (1 << 1)
+#define I2C_SL_RESP            (1 << 0)
+#define I2C_SL_IRQ             (1 << 3)
+#define END_TRANS              (1 << 4)
+#define RCVD                   (1 << 2)
+#define RNW                    (1 << 1)
 
 #define I2C_SL_RCVD            0x24
 #define I2C_SL_STATUS          0x28