staging: comedi: mf6x4: prefer using the BIT macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 6 Oct 2015 18:11:06 +0000 (11:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:55:31 +0000 (22:55 -0700)
Fix the checkpatch.pl issues.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
 drivers/staging/comedi/drivers/mf6x4.c | 9 ---------
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mf6x4.c

index a675e2ef9b4553e4ba950a06d22f0d61040002a6..817e8bf8f1419ae0ddebb91d3591880ad223ab16 100644 (file)
@@ -33,9 +33,9 @@
 /* Registers present in BAR0 memory region */
 #define MF624_GPIOC_R                                  0x54
 
-#define MF6X4_GPIOC_EOLC /* End Of Last Conversion */  (1 << 17)
-#define MF6X4_GPIOC_LDAC /* Load DACs */               (1 << 23)
-#define MF6X4_GPIOC_DACEN                              (1 << 26)
+#define MF6X4_GPIOC_EOLC       BIT(17) /* End Of Last Conversion */
+#define MF6X4_GPIOC_LDAC       BIT(23) /* Load DACs */
+#define MF6X4_GPIOC_DACEN      BIT(26)
 
 /* BAR1 registers */
 #define MF6X4_DIN_R                                    0x10