staging: comedi: c6xdigio: Prefer using the BIT macro
Fix the checkpatch.pl issues. 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
e76415f47f
commit
9bc9e60e4f
|
@ -47,8 +47,8 @@
|
|||
*/
|
||||
#define C6XDIGIO_DATA_REG 0x00
|
||||
#define C6XDIGIO_DATA_CHAN(x) (((x) + 1) << 4)
|
||||
#define C6XDIGIO_DATA_PWM (1 << 5)
|
||||
#define C6XDIGIO_DATA_ENCODER (1 << 6)
|
||||
#define C6XDIGIO_DATA_PWM BIT(5)
|
||||
#define C6XDIGIO_DATA_ENCODER BIT(6)
|
||||
#define C6XDIGIO_STATUS_REG 0x01
|
||||
#define C6XDIGIO_CTRL_REG 0x02
|
||||
|
||||
|
|
Loading…
Reference in New Issue