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:
parent
dcfd349493
commit
ce6295e267
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue