diff mbox series

clk: Clean up kernel-doc errors

Message ID 20200622090935.213833-1-sboyd@kernel.org (mailing list archive)
State Accepted, archived
Headers show
Series clk: Clean up kernel-doc errors | expand

Commit Message

Stephen Boyd June 22, 2020, 9:09 a.m. UTC
Two things aren't documented causing kernel-doc to fail when checking
the core clk.c file. Fix them so that this file is clean.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
---
 drivers/clk/clk.c | 3 +++
 1 file changed, 3 insertions(+)


base-commit: b3a9e3b9622ae10064826dccb4f7a52bd88c7407
prerequisite-patch-id: ef03ffb3ba4ad414ba2917d05b8804fc14f907c7

Comments

Stephen Boyd July 24, 2020, 9:42 a.m. UTC | #1
Quoting Stephen Boyd (2020-06-22 02:09:35)
> Two things aren't documented causing kernel-doc to fail when checking
> the core clk.c file. Fix them so that this file is clean.
> 
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 236923b25543..47c0ee9da462 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -4135,6 +4135,7 @@  static int devm_clk_hw_match(struct device *dev, void *res, void *data)
 
 /**
  * devm_clk_unregister - resource managed clk_unregister()
+ * @dev: device that is unregistering the clock data
  * @clk: clock to unregister
  *
  * Deallocate a clock allocated with devm_clk_register(). Normally
@@ -4324,6 +4325,8 @@  static void clk_core_reparent_orphans(void)
  * @node: Pointer to device tree node of clock provider
  * @get: Get clock callback.  Returns NULL or a struct clk for the
  *       given clock specifier
+ * @get_hw: Get clk_hw callback.  Returns NULL, ERR_PTR or a
+ *       struct clk_hw for the given clock specifier
  * @data: context pointer to be passed into @get callback
  */
 struct of_clk_provider {