mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 16:07:17 -04:00
staging: comedi: adl_pci6208: prefer using the BIT macro
As suggested by checkpatch.pl, use the BIT macro to define the register bits. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dcfd349493
commit
ce6295e267
@@ -41,7 +41,7 @@
|
||||
*/
|
||||
#define PCI6208_AO_CONTROL(x) (0x00 + (2 * (x)))
|
||||
#define PCI6208_AO_STATUS 0x00
|
||||
#define PCI6208_AO_STATUS_DATA_SEND (1 << 0)
|
||||
#define PCI6208_AO_STATUS_DATA_SEND BIT(0)
|
||||
#define PCI6208_DIO 0x40
|
||||
#define PCI6208_DIO_DO_MASK (0x0f)
|
||||
#define PCI6208_DIO_DO_SHIFT (0)
|
||||
|
||||
Reference in New Issue
Block a user