diff options
| author | Sanjana Sanikommu <[email protected]> | 2019-03-31 16:17:30 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-04-01 19:31:11 +0200 |
| commit | 557e36194ed4052a8767e356784027b545c8a311 (patch) | |
| tree | d5d82d7250420ade367ffd19a55acc8b66168393 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9a3aebc02a8469decafd0aae557082ff15259b85 (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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions