]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: s626.h: Fix checkpatch warning
authorAnson Jacob <ansonjacob.aj@gmail.com>
Fri, 26 Aug 2016 23:14:00 +0000 (19:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Sep 2016 12:40:51 +0000 (14:40 +0200)
Fix checkpatch.pl warning for
Comparisons should place the constant on the right side of the test
Remove extra space after /*

Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.h

index 6a00a64c6f3ac8045a24f9d1b52fb5f7acc847d6..4cef4526326712c22694809ac8b8326ce70f1b87 100644 (file)
@@ -79,7 +79,7 @@
 /* Address offsets, in DWORDS, from base of DMA buffer. */
 #define S626_DAC_WDMABUF_OS    S626_ADC_DMABUF_DWORDS
 
-/*  Interrupt enable bit in ISR and IER. */
+/* Interrupt enable bit in ISR and IER. */
 #define S626_IRQ_GPIO3         0x00000040      /* IRQ enable for GPIO3. */
 #define S626_IRQ_RPS1          0x10000000
 #define S626_ISR_AFOU          0x00000800
                                                 * WS1-WS4 = CS* outputs.
                                                 */
 
-#if S626_PLATFORM == S626_INTEL                /*
+#if (S626_PLATFORM == S626_INTEL)      /*
                                         * Base ACON1 config: always run
                                         * A1 based on TSL1.
                                         */