]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: comedi: quatech_daqp_cs: spaces preferred around that '<<'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 Oct 2015 21:22:53 +0000 (14:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:16:05 +0000 (21:16 -0700)
Fix the checkpatch.pl issues about:
CHECK: spaces preferred around that '<<' (ctx:VxV)

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/quatech_daqp_cs.c

index ab336ce329f246f5b0e9232d4412e7b597da9fa4..a2bbba1bfc04eb81ab8747dd321eb7b73627f09a 100644 (file)
@@ -79,10 +79,10 @@ struct daqp_private {
 #define DAQP_AUX               15
 
 #define DAQP_SCANLIST_DIFFERENTIAL     0x4000
-#define DAQP_SCANLIST_GAIN(x)          ((x)<<12)
-#define DAQP_SCANLIST_CHANNEL(x)       ((x)<<8)
+#define DAQP_SCANLIST_GAIN(x)          ((x) << 12)
+#define DAQP_SCANLIST_CHANNEL(x)       ((x) << 8)
 #define DAQP_SCANLIST_START            0x0080
-#define DAQP_SCANLIST_EXT_GAIN(x)      ((x)<<4)
+#define DAQP_SCANLIST_EXT_GAIN(x)      ((x) << 4)
 #define DAQP_SCANLIST_EXT_CHANNEL(x)   (x)
 
 #define DAQP_CONTROL_PACER_100kHz      0xc0