staging: comedi: ni_670x: using the BIT(x) macro
authorSaber Rezvani <irsaber@gmail.com>
Fri, 16 Dec 2016 20:20:04 +0000 (23:50 +0330)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:29:06 +0000 (15:29 +0100)
commit3c4a2d9e25eb090cbba7a4d1e3a91f2044324e17
treea75c6dd0a6043773fa27148d99c6db36c411c78a
parent8f2ee91256cbada0ee4192516a189a088766df3c
staging: comedi: ni_670x: 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_670x.c