Commit ba6651a
clk: imx: scu: 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.
This driver also implements both the determine_rate() and round_rate()
clk ops, and the round_rate() clk ops is deprecated. When both are
defined, clk_core_determine_round_nolock() from the clk core will only
use the determine_rate() clk ops, so let's remove the round_rate() clk
ops since it's unused.
Signed-off-by: Brian Masney <bmasney@redhat.com>
Link: https://lore.kernel.org/r/20250710-clk-imx-round-rate-v1-13-5726f98e6d8d@redhat.com
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>1 parent 62021be commit ba6651a
1 file changed
Lines changed: 9 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | 272 | | |
291 | 273 | | |
292 | 274 | | |
| |||
454 | 436 | | |
455 | 437 | | |
456 | 438 | | |
457 | | - | |
| 439 | + | |
458 | 440 | | |
459 | 441 | | |
460 | 442 | | |
461 | 443 | | |
462 | 444 | | |
463 | 445 | | |
464 | 446 | | |
465 | | - | |
| 447 | + | |
466 | 448 | | |
467 | 449 | | |
468 | 450 | | |
| |||
766 | 748 | | |
767 | 749 | | |
768 | 750 | | |
769 | | - | |
770 | | - | |
| 751 | + | |
| 752 | + | |
771 | 753 | | |
772 | | - | |
773 | | - | |
| 754 | + | |
| 755 | + | |
774 | 756 | | |
775 | | - | |
| 757 | + | |
776 | 758 | | |
777 | | - | |
| 759 | + | |
778 | 760 | | |
779 | 761 | | |
780 | 762 | | |
| |||
793 | 775 | | |
794 | 776 | | |
795 | 777 | | |
796 | | - | |
| 778 | + | |
797 | 779 | | |
798 | 780 | | |
799 | 781 | | |
| |||
0 commit comments