Skip to content

Commit 750e0e0

Browse files
krzkbebarino
authored andcommitted
clk: zynqmp: pll: Fix zynqmp_clk_divider_determine_rate kerneldoc
After renaming round_rate->determine, kerneldoc does not match anymore, causing W=1 warnings: pll.c:102 function parameter 'req' not described in 'zynqmp_pll_determine_rate' pll.c:102 expecting prototype for zynqmp_pll_round_rate(). Prototype was for zynqmp_pll_determine_rate() instead Fixes: 193650c ("clk: zynqmp: pll: convert from round_rate() to determine_rate()") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 1b87738 commit 750e0e0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

drivers/clk/zynqmp/pll.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ static inline void zynqmp_pll_set_mode(struct clk_hw *hw, bool on)
9191
}
9292

9393
/**
94-
* zynqmp_pll_round_rate() - Round a clock frequency
94+
* zynqmp_pll_determine_rate() - Round a clock frequency
9595
* @hw: Handle between common and hardware-specific interfaces
96-
* @rate: Desired clock frequency
97-
* @prate: Clock frequency of parent clock
96+
* @req: Desired clock frequency
9897
*
9998
* Return: Frequency closest to @rate the hardware can generate
10099
*/

0 commit comments

Comments
 (0)