Re: [PATCH 046/114] clk: sifive: sifive-prci: convert from round_rate() to determine_rate()

From: Samuel Holland
Date: Mon Aug 18 2025 - 11:53:08 EST


On 2025-08-11 10:18 AM, Brian Masney via B4 Relay wrote:
> From: Brian Masney <bmasney@xxxxxxxxxx>
>
> 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.
>
> Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
> ---
> drivers/clk/sifive/fu540-prci.h | 2 +-
> drivers/clk/sifive/fu740-prci.h | 2 +-
> drivers/clk/sifive/sifive-prci.c | 11 ++++++-----
> drivers/clk/sifive/sifive-prci.h | 4 ++--
> 4 files changed, 10 insertions(+), 9 deletions(-)

Reviewed-by: Samuel Holland <samuel.holland@xxxxxxxxxx>