public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: ti: dpll3xxx: use correct function names in kernel-doc
@ 2024-01-15  5:47 Randy Dunlap
  2024-02-28 23:19 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2024-01-15  5:47 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Tero Kristo, linux-omap, Michael Turquette,
	Stephen Boyd, linux-clk

Use function names that match the implementation in kernel-doc comments
to avoid kernel-doc warnings:

dpll3xxx.c:938: warning: expecting prototype for omap3_non_core_dpll_save_context(). Prototype was for omap3_noncore_dpll_save_context() instead
dpll3xxx.c:967: warning: expecting prototype for omap3_core_dpll_restore_context(). Prototype was for omap3_noncore_dpll_restore_context() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Tero Kristo <kristo@kernel.org>
Cc: linux-omap@vger.kernel.org
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org
---
 drivers/clk/ti/dpll3xxx.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -- a/drivers/clk/ti/dpll3xxx.c b/drivers/clk/ti/dpll3xxx.c
--- a/drivers/clk/ti/dpll3xxx.c
+++ b/drivers/clk/ti/dpll3xxx.c
@@ -928,7 +928,7 @@ void omap3_core_dpll_restore_context(str
 }
 
 /**
- * omap3_non_core_dpll_save_context - Save the m and n values of the divider
+ * omap3_noncore_dpll_save_context - Save the m and n values of the divider
  * @hw: pointer  struct clk_hw
  *
  * Before the dpll registers are lost save the last rounded rate m and n
@@ -957,7 +957,7 @@ int omap3_noncore_dpll_save_context(stru
 }
 
 /**
- * omap3_core_dpll_restore_context - restore the m and n values of the divider
+ * omap3_noncore_dpll_restore_context - restore the m and n values of the divider
  * @hw: pointer  struct clk_hw
  *
  * Restore the last rounded rate m and n

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

* Re: [PATCH] clk: ti: dpll3xxx: use correct function names in kernel-doc
  2024-01-15  5:47 [PATCH] clk: ti: dpll3xxx: use correct function names in kernel-doc Randy Dunlap
@ 2024-02-28 23:19 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2024-02-28 23:19 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: Randy Dunlap, Tero Kristo, linux-omap, Michael Turquette,
	linux-clk

Quoting Randy Dunlap (2024-01-14 21:47:39)
> Use function names that match the implementation in kernel-doc comments
> to avoid kernel-doc warnings:
> 
> dpll3xxx.c:938: warning: expecting prototype for omap3_non_core_dpll_save_context(). Prototype was for omap3_noncore_dpll_save_context() instead
> dpll3xxx.c:967: warning: expecting prototype for omap3_core_dpll_restore_context(). Prototype was for omap3_noncore_dpll_restore_context() instead
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Tero Kristo <kristo@kernel.org>
> Cc: linux-omap@vger.kernel.org
> Cc: Michael Turquette <mturquette@baylibre.com>
> Cc: Stephen Boyd <sboyd@kernel.org>
> Cc: linux-clk@vger.kernel.org
> ---

Applied to clk-next

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

end of thread, other threads:[~2024-02-28 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-15  5:47 [PATCH] clk: ti: dpll3xxx: use correct function names in kernel-doc Randy Dunlap
2024-02-28 23:19 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox