From: Kuninori Morimoto Date: Mon, 5 Feb 2024 05:37:19 +0000 (+0000) Subject: of: property: add missing kerneldoc for of_graph_get_endpoint_count() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4c3b386c46065c0d26ae5503e73d6634f24e2d36;p=linux.git of: property: add missing kerneldoc for of_graph_get_endpoint_count() of_graph_get_endpoint_count() doesn't have kerneldoc. Add it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart Link: https://lore.kernel.org/r/87r0hrcvzk.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Rob Herring --- diff --git a/drivers/of/property.c b/drivers/of/property.c index a02a985c13baa..455dda225556d 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -812,6 +812,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 the number of endpoints in a device node + * @np: parent device node containing ports and endpoints + * + * Return: count of endpoint of this device node + */ int of_graph_get_endpoint_count(const struct device_node *np) { struct device_node *endpoint;