diff options
author | Samuel Holland <[email protected]> | 2022-12-31 11:30:55 -0600 |
---|---|---|
committer | Jernej Skrabec <[email protected]> | 2023-01-08 21:55:17 +0100 |
commit | 657f477a89acb25ba34414ac84a51a32c5013d7b (patch) | |
tree | 6d30cf0d99dde71e57b64ab9c8e6f6ea5b75f6dd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 5ee541ae712e74c842a324e946ef91cb19140cab (diff) |
clk: sunxi-ng: Avoid computing the rate twice
The ccu_*_find_best() functions already compute a best_rate at the same
time as the other factors. Return this value so the caller does not need
to duplicate the computation.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Jernej Skrabec <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jernej Skrabec <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions