]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: comedidev.h: spaces preferred around that '*'
authorIan Abbott <abbotti@mev.co.uk>
Mon, 12 Oct 2015 17:03:25 +0000 (18:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:30:39 +0000 (10:30 -0700)
Fix the checkpatch.pl issues:

CHECK: spaces preferred around that '*' (ctx:VxV)

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

index 7a62e97b345c443b0480aea5278ae8dae6b6b993..115807215484747a9ee05785f89580316cadba29 100644 (file)
@@ -580,12 +580,12 @@ int comedi_check_chanlist(struct comedi_subdevice *s,
 
 /* range stuff */
 
-#define RANGE(a, b)            {(a)*1e6, (b)*1e6, 0}
-#define RANGE_ext(a, b)                {(a)*1e6, (b)*1e6, RF_EXTERNAL}
-#define RANGE_mA(a, b)         {(a)*1e6, (b)*1e6, UNIT_mA}
-#define RANGE_unitless(a, b)   {(a)*1e6, (b)*1e6, 0}
-#define BIP_RANGE(a)           {-(a)*1e6, (a)*1e6, 0}
-#define UNI_RANGE(a)           {0, (a)*1e6, 0}
+#define RANGE(a, b)            {(a) * 1e6, (b) * 1e6, 0}
+#define RANGE_ext(a, b)                {(a) * 1e6, (b) * 1e6, RF_EXTERNAL}
+#define RANGE_mA(a, b)         {(a) * 1e6, (b) * 1e6, UNIT_mA}
+#define RANGE_unitless(a, b)   {(a) * 1e6, (b) * 1e6, 0}
+#define BIP_RANGE(a)           {-(a) * 1e6, (a) * 1e6, 0}
+#define UNI_RANGE(a)           {0, (a) * 1e6, 0}
 
 extern const struct comedi_lrange range_bipolar10;
 extern const struct comedi_lrange range_bipolar5;