From: H Hartley Sweeten Date: Tue, 6 Oct 2015 18:11:06 +0000 (-0700) Subject: staging: comedi: mf6x4: prefer using the BIT macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0b7cbf14493f8bf8e171bc5a39780e434181f430;p=linux-beck.git staging: comedi: mf6x4: prefer using the BIT macro Fix the checkpatch.pl issues. Signed-off-by: H Hartley Sweeten drivers/staging/comedi/drivers/mf6x4.c | 9 --------- Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/mf6x4.c b/drivers/staging/comedi/drivers/mf6x4.c index a675e2ef9b45..817e8bf8f141 100644 --- a/drivers/staging/comedi/drivers/mf6x4.c +++ b/drivers/staging/comedi/drivers/mf6x4.c @@ -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