[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1622540651-99141-1-git-send-email-yang.lee@linux.alibaba.com>
Date: Tue, 1 Jun 2021 17:44:11 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: paul.walmsley@...ive.com
Cc: mturquette@...libre.com, sboyd@...nel.org, nathan@...nel.org,
ndesaulniers@...gle.com, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com,
Yang Li <yang.lee@...ux.alibaba.com>
Subject: [PATCH] clk: analogbits: Fix kernel-doc
Fix function name in wrpll-cln28hpc.c kernel-doc comment
to remove a warning found by clang(make W=1 LLVM=1).
drivers/clk/analogbits/wrpll-cln28hpc.c:227: warning: expecting
prototype for wrpll_configure(). Prototype was for
wrpll_configure_for_rate() instead.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
drivers/clk/analogbits/wrpll-cln28hpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/analogbits/wrpll-cln28hpc.c b/drivers/clk/analogbits/wrpll-cln28hpc.c
index 776ead3..3b19475 100644
--- a/drivers/clk/analogbits/wrpll-cln28hpc.c
+++ b/drivers/clk/analogbits/wrpll-cln28hpc.c
@@ -198,7 +198,7 @@ static int __wrpll_update_parent_rate(struct wrpll_cfg *c,
}
/**
- * wrpll_configure() - compute PLL configuration for a target rate
+ * wrpll_configure_for_rate() - compute PLL configuration for a target rate
* @c: ptr to a struct wrpll_cfg record to write into
* @target_rate: target PLL output clock rate (post-Q-divider)
* @parent_rate: PLL input refclk rate (pre-R-divider)
--
1.8.3.1
Powered by blists - more mailing lists