mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: comedi: mf6x4: prefer using the BIT macro
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>
This commit is contained in:
parent
aafbdb1294
commit
0b7cbf1449
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue