linux/drivers/clk/microchip
Brian Masney 8ed504f525 clk: microchip: core: remove duplicate determine_rate on pic32_sclk_ops
[ Upstream commit d93faac66d ]

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: e9f039c08c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-02-26 14:59:30 -08:00
..
clk-core.c clk: microchip: core: remove duplicate determine_rate on pic32_sclk_ops 2026-02-26 14:59:30 -08:00
clk-core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 445 2019-06-05 17:37:18 +02:00
clk-mpfs-ccc.c clk: microchip: mpfs-ccc: replace include of asm-generic/errno-base.h 2023-12-17 14:47:43 -08:00
clk-mpfs.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
clk-pic32mzda.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
Kconfig clk: microchip: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE 2023-05-22 11:57:27 +03:00
Makefile clk: microchip: add PolarFire SoC fabric clock support 2022-09-14 10:57:07 +03:00