]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: me4000: checkpatch.pl cleanup (complex macro)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:22:51 +0000 (11:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:59 +0000 (13:37 -0700)
Fix the checkpatch.pl error:

ERROR: Macros with complex values should be enclosed in parenthesis

This define is not used in the driver. Just remove it.

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

index 25ce2f78db8154ac96fea55e64bff27b937c10e7..9a5c535451a18ec6ae8447983f3b1dc6f266829b 100644 (file)
@@ -170,7 +170,6 @@ broken.
 
 #define ME4000_AI_MIN_TICKS                    66
 #define ME4000_AI_MIN_SAMPLE_TIME              2000
-#define ME4000_AI_BASE_FREQUENCY               (unsigned int) 33E6
 
 #define ME4000_AI_CHANNEL_LIST_COUNT           1024