diff mbox series

[v3,01/24] of: property: add missing kerneldoc for of_graph_get_endpoint_count()

Message ID 87mssm6qkm.wl-kuninori.morimoto.gx@renesas.com
State New
Headers show
Series [v3,01/24] of: property: add missing kerneldoc for of_graph_get_endpoint_count() | expand

Commit Message

Kuninori Morimoto Jan. 31, 2024, 5:04 a.m. UTC
of_graph_get_endpoint_count() doesn't have kerneldoc. Add it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 drivers/of/property.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/drivers/of/property.c b/drivers/of/property.c
index afdaefbd03f6..4e879faa1710 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -811,6 +811,12 @@  struct device_node *of_graph_get_remote_port(const struct device_node *node)
 }
 EXPORT_SYMBOL(of_graph_get_remote_port);
 
+/**
+ * of_graph_get_endpoint_count() - get count of endpoint
+ * @np: pointer to the parent device node
+ *
+ * Return: count of endpoint of this device node
+ */
 int of_graph_get_endpoint_count(const struct device_node *np)
 {
 	struct device_node *endpoint;