Re: [PATCH] MIPS: Alchemy: convert from round_rate() to determine_rate()

From: Thomas Bogendoerfer
Date: Fri Aug 29 2025 - 06:33:55 EST


On Sun, Aug 10, 2025 at 06:30:23PM -0400, Brian Masney wrote:
> The round_rate() clk ops is deprecated, so migrate this driver from
> round_rate() to determine_rate() using the Coccinelle semantic patch
> appended to the "under-the-cut" portion of the patch.
>
> Note that prior to running Coccinelle, alchemy_clk_aux_roundr() was
> renamed to alchemy_clk_aux_round_rate(). A few minor style cleanups
> were also done by hand.
>
> Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
> ---
> [...]
> https://lore.kernel.org/cocci/67642477-5f3e-4b2a-914d-579a54f48cbd@xxxxxxxxx/
> ---
> arch/mips/alchemy/common/clock.c | 18 +++++++++++-------
> 1 file changed, 11 insertions(+), 7 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]