Staging: comedi: Prefer using the BIT macro
authorAybuke Ozdemir <aybuke.147@gmail.com>
Wed, 10 Feb 2016 16:02:25 +0000 (18:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:47:27 +0000 (19:47 -0800)
commit72315cdaba9db965af38c9b756333e2f2b8d48ec
treeefc95e10e92a9852e536c5a5e05e8576293cf1f5
parente563637b5fef2d1fbcd1efe457d4168fde7b3e0d
Staging: comedi: Prefer using the BIT macro

Replace all instances of bit shifting on 1 with the BIT(x) macro. In
addition, convert other non-1 shift operations with the equivalent
BIT(x) macro for uniformity. Issue pointed out by checkpatch.

CHECK: Prefer using the BIT macro

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi.h