]> git.baikalelectronics.ru Git - kernel.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)
commite86cb0dbb40e80868192975298a52e8e440391fa
treec8e6b00473824b48e764f8ae495f3a76718d577e
parente2b30ef486dfaba42bfa6843caba80cbf15d9410
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