]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: microchip: core: remove duplicate determine_rate on pic32_sclk_ops
authorBrian Masney <bmasney@redhat.com>
Fri, 5 Dec 2025 19:46:27 +0000 (14:46 -0500)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sat, 10 Jan 2026 14:50:02 +0000 (16:50 +0200)
commitd93faac66dc04650d924f8f9584216d14f48fb14
tree1f97a597e149030b0ce3aea8cbdf33dc750f53b9
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
clk: microchip: core: remove duplicate determine_rate on pic32_sclk_ops

pic32_sclk_ops previously had a sclk_round_rate() member, and this was
recently converted over to sclk_determine_rate() with the help of a
Coccinelle semantic patch. pic32_sclk_ops now has two conflicting
determine_rate ops members.

Prior to the conversion, pic32_sclk_ops already had a determine_rate
member that points to __clk_mux_determine_rate(). When both the
round_rate() and determine_rate() ops are defined, the clk core only
uses the determine_rate() op. Let's go ahead and drop the recently
converted sclk_determine_rate() to match the previous functionality
prior to the conversion.

Fixes: e9f039c08cdc ("clk: microchip: core: convert from round_rate() to determine_rate()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511222115.uvHrP95A-lkp@intel.com/
Signed-off-by: Brian Masney <bmasney@redhat.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/20251205-clk-microchip-fixes-v3-1-a02190705e47@redhat.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
drivers/clk/microchip/clk-core.c