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...@gmail.com>
---
 drivers/staging/comedi/drivers/s626.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/drivers/s626.h 
b/drivers/staging/comedi/drivers/s626.h
index 6a00a64..4cef452 100644
--- a/drivers/staging/comedi/drivers/s626.h
+++ b/drivers/staging/comedi/drivers/s626.h
@@ -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
@@ -329,7 +329,7 @@
                                                 * WS1-WS4 = CS* outputs.
                                                 */
 
-#if S626_PLATFORM == S626_INTEL                /*
+#if (S626_PLATFORM == S626_INTEL)      /*
                                         * Base ACON1 config: always run
                                         * A1 based on TSL1.
                                         */
-- 
2.7.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to