Thread (20 messages) read the whole thread 20 messages, 4 authors, 2019-03-19
STALE2691d

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 2/5] clk: zynqmp: fix doc of __zynqmp_clock_get_parents

From: Michael Tretter <m.tretter@pengutronix.de>
Date: 2019-03-12 11:00:24
Also in: linux-clk
Subsystem: common clk framework, the rest · Maintainers: Michael Turquette, Stephen Boyd, Linus Torvalds

The kernel-doc refers to __zynqmp_clock_get_topology(), while it actually
documents __zynqmp_clock_get_parents(). Fix the documentation to refer
to the correct function name.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
I think most of the function documentation in this file is pretty
useless and sometimes misleading. Maybe we should drop the documentation
entirely, because all functions are static anyway?
---
 drivers/clk/zynqmp/clkc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/zynqmp/clkc.c b/drivers/clk/zynqmp/clkc.c
index b0908ec62f73..d3d4ce305e71 100644
--- a/drivers/clk/zynqmp/clkc.c
+++ b/drivers/clk/zynqmp/clkc.c
@@ -408,7 +408,7 @@ static int zynqmp_clock_get_topology(u32 clk_id,
 }
 
 /**
- * __zynqmp_clock_get_topology() - Get parents info of clock from firmware
+ * __zynqmp_clock_get_parents() - Get parents info of clock from firmware
  *				   response data
  * @parents:		Clock parents
  * @data:		Clock parents data received from firmware
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help