summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJoshua Crofts <joshua.crofts1@gmail.com>2026-04-19 20:36:23 +0200
committerJonathan Cameron <jic23@kernel.org>2026-05-31 10:59:33 +0100
commit5b382bf01a377ea96612089b1d68d9547882359f (patch)
tree93b7482ff2a76d49c6fe054d08c2d16efbe194d5 /tools/perf/scripts/python/task-analyzer.py
parentc0536d61f30417b0aeac7ea8734525ab7a01a93b (diff)
iio: frequency: ad9832: simplify bitwise math
Refactor the ad9832_calc_freqreg by removing the redundant u64 casts and 1L bitwise left shift and replacing the multiplication by a bit shift, as multiplying integers by a power of two is identical to a bitwise left shift. Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions