]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_at_ao: using the BIT(x) macro
authorSaber Rezvani <irsaber@gmail.com>
Fri, 16 Dec 2016 20:06:20 +0000 (23:36 +0330)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:29:06 +0000 (15:29 +0100)
commit8f2ee91256cbada0ee4192516a189a088766df3c
treec8e6b00473824b48e764f8ae495f3a76718d577e
parentdb30e33f4a333e52cab9279cd000576f98a23451
staging: comedi: ni_at_ao: using the BIT(x) macro

Fix the checkpatch.pl issue:
CHECK: Prefer using the BIT macro
replacing bit shifting on 1 with the BIT(x) macro.

Signed-off-by: Saber Rezvani <irsaber@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_at_ao.c