pmdomain: mediatek: airoha: convert from round_rate() to determine_rate()
authorBrian Masney <bmasney@redhat.com>
Sun, 10 Aug 2025 22:16:19 +0000 (18:16 -0400)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 17 Sep 2025 14:28:18 +0000 (16:28 +0200)
commitc60934d5ca088908794510ae9314dbbc5fcc9935
tree236549f6c8cd3304098bf74517b110bbe38cbab3
parent5b3a897c3f90e16beff5124934bf5b10c6c68f6b
pmdomain: mediatek: airoha: 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.

Note that prior to running the Coccinelle,
airoha_cpu_pmdomain_clk_round() was renamed to
airoha_cpu_pmdomain_clk_round_rate().

Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/mediatek/airoha-cpu-pmdomain.c