diff options
| author | 2019-03-31 16:17:30 +0530 | |
|---|---|---|
| committer | 2019-04-01 19:31:11 +0200 | |
| commit | 557e36194ed4052a8767e356784027b545c8a311 (patch) | |
| tree | d5d82d7250420ade367ffd19a55acc8b66168393 /include/linux | |
| parent | staging: sm750fb: Remove unnecessary parenthesis. (diff) | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
