linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] clk: analogbits: fix doc warning in wrpll-cln28hpc.c
@ 2021-06-01 11:41 Yang Yingliang
  2021-06-02  6:40 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2021-06-01 11:41 UTC (permalink / raw)
  To: linux-kernel, linux-riscv, linux-clk; +Cc: paul.walmsley, mturquette, sboyd

Fix the following make W=1 warning:

  drivers/clk/analogbits/wrpll-cln28hpc.c:227: warning: expecting prototype for wrpll_configure(). Prototype was for wrpll_configure_for_rate() instead

Signed-off-by: Yang Yingliang <yangyingliang@huawei.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 7c64ea52a8d5..09ca82356399 100644
--- a/drivers/clk/analogbits/wrpll-cln28hpc.c
+++ b/drivers/clk/analogbits/wrpll-cln28hpc.c
@@ -202,7 +202,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)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] clk: analogbits: fix doc warning in wrpll-cln28hpc.c
  2021-06-01 11:41 [PATCH -next] clk: analogbits: fix doc warning in wrpll-cln28hpc.c Yang Yingliang
@ 2021-06-02  6:40 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2021-06-02  6:40 UTC (permalink / raw)
  To: Yang Yingliang, linux-clk, linux-kernel, linux-riscv
  Cc: paul.walmsley, mturquette

Quoting Yang Yingliang (2021-06-01 04:41:54)
> Fix the following make W=1 warning:
> 
>   drivers/clk/analogbits/wrpll-cln28hpc.c:227: warning: expecting prototype for wrpll_configure(). Prototype was for wrpll_configure_for_rate() instead
> 
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---

Applied to clk-next

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-02  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 11:41 [PATCH -next] clk: analogbits: fix doc warning in wrpll-cln28hpc.c Yang Yingliang
2021-06-02  6:40 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).