Commit 0b7cbf14 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: mf6x4: prefer using the BIT macro

Fix the checkpatch.pl issues.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
 drivers/staging/comedi/drivers/mf6x4.c | 9 ---------
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aafbdb12
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment