]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: sifive: sifive-prci: convert from round_rate() to determine_rate()
authorBrian Masney <bmasney@redhat.com>
Mon, 11 Aug 2025 15:18:38 +0000 (11:18 -0400)
committerBrian Masney <bmasney@redhat.com>
Mon, 8 Sep 2025 13:41:28 +0000 (09:41 -0400)
commitff04a06db62669d8c4b69ebb02812b2a9f21d4b8
treee11aa91d28e67dfc50bb00e62a207e5bf7d76fa7
parent3859ce9eeb326ebda5d5dd1ca4db733da6c9891f
clk: sifive: sifive-prci: 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.

Note that the changes to the three header files were done by hand.

Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
drivers/clk/sifive/fu540-prci.h
drivers/clk/sifive/fu740-prci.h
drivers/clk/sifive/sifive-prci.c
drivers/clk/sifive/sifive-prci.h