clocksource/drivers/ingenic-sysost: Convert from round_rate() to determine_rate()
authorBrian Masney <bmasney@redhat.com>
Sun, 10 Aug 2025 22:37:10 +0000 (18:37 -0400)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 23 Sep 2025 10:41:50 +0000 (12:41 +0200)
commit21b8a635f3b3d6a165fa257808ed381c13c72e9b
tree448d902fe2457b5fd1ef1820cbd647254c96de40
parent764d0654114b5ce52aafabdb2bf9ccee0e998651
clocksource/drivers/ingenic-sysost: 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
appended to the "under-the-cut" portion of the patch.

While changes are being made to 'struct clk_ops', let's also go ahead
and fix the formatting of set_rate so that everything lines up as
expected.

Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20250810-clocksource-round-rate-v1-1-486ef53e45eb@redhat.com
drivers/clocksource/ingenic-sysost.c