diff options
author | Andy Shevchenko <[email protected]> | 2024-03-03 14:07:32 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2024-03-08 17:07:11 -0800 |
commit | c1ab111e62496d8c1232da767c2bc5cdc76596e5 (patch) | |
tree | 35e57143dff98c28050487bd0b6222f8c311a25f /tools/perf/util/trace-event-scripting.c | |
parent | 6e3f07f9df896fcb2ee80a7d61c70a64735590d9 (diff) |
clk: fractional-divider: Use bit operations consistently
Use BIT() where makes sense. This alings usage of bit operations
in the same pieces of code. Moreover, strictly speaking by the
letter of the C standard, left shift of 1 by 31 bits is UB (undefined
behaviour), switching to BIT() addresses that as well.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions