diff options
author | Brian Masney <bmasney@redhat.com> | 2025-07-03 19:22:34 -0400 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2025-07-14 11:56:18 +0800 |
commit | 80395c3b47577c12121d4e408e7b9478f7f88d02 (patch) | |
tree | 16bb52dcb1f2d5c53125e18d1955185f28ee53fe /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8bc614c6ac3c97cef385aebc6520ddcfa0fca8f7 (diff) |
clk: sunxi-ng: ccu_nm: convert from round_rate() to determine_rate()
The round_rate() clk ops is deprecated, so migrate this driver from
round_rate() to determine_rate() using the Coccinelle semantic patch
on the cover letter of this series.
I manually fixed up one minor formatting issue that occurred after
applying the semantic patch:
req->rate = ccu_nm_find_best(&nm->common, req->best_parent_rate,
req->rate,
&_nm);
I manually changed it to:
req->rate = ccu_nm_find_best(&nm->common, req->best_parent_rate,
req->rate, &_nm);
Signed-off-by: Brian Masney <bmasney@redhat.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20250703-clk-cocci-drop-round-rate-v1-10-3a8da898367e@redhat.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions