staging: comedi: Prefer using BIT macro in various files.

Challenge suggested by coccinelle.

Replace bit shifting on 1 with the BIT(x) macro.
Coccinelle script:

@@
constant c;
@@

-(1 << c)
+BIT(c)

Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sanjana Sanikommu 2019-03-31 16:17:30 +05:30 • committed by Greg Kroah-Hartman
commit 557e36194e
6 changed files with 8 additions and 8 deletions