clk: zynq: pll: Fix kernel-doc after determine_rate() conversion

Commit 1547747b55 ("clk: zynq: pll: convert from round_rate() to
determine_rate()") replaced zynq_pll_round_rate() with
zynq_pll_determine_rate() but left its kernel-doc block behind, so the
block still names the old function and documents the removed @rate and
@prate parameters instead of @req.

Retitle the block and describe @req. The Return: line described a
frequency and referenced the removed @rate; the function returns 0
unconditionally and the rounded rate comes back in @req.

No functional changes.

Assisted-by: Claude:claude-opus-5 [kernel-doc]
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Babanpreet Singh 2026-08-03 06:31:26 +00:00 committed by Stephen Boyd
parent 3a6deb47cd
commit 3cf908dd13
No known key found for this signature in database
GPG Key ID: AD028897C6E49525

View File

@ -42,11 +42,11 @@ struct zynq_pll {
#define PLL_FBDIV_MAX 66
/**
* zynq_pll_round_rate() - Round a clock frequency
* zynq_pll_determine_rate() - Round a clock frequency
* @hw: Handle between common and hardware-specific interfaces
* @rate: Desired clock frequency
* @prate: Clock frequency of parent clock
* Return: frequency closest to @rate the hardware can generate.
* @req: Clock rate request, updated with the frequency closest to the
* requested one that the hardware can generate
* Return: 0 always
*/
static int zynq_pll_determine_rate(struct clk_hw *hw,
struct clk_rate_request *req)