summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2025-04-03 09:39:01 +0200
committerFabio Estevam <festevam@gmail.com>2025-04-10 22:32:55 -0300
commit250a382a897d06a57b840e9250e94d5567bb613d (patch)
tree61b1f34ad0181d9f958034fc59111b12b81867ba
parentcb7555e93075114fe4af0adb806877ac4d4ef80d (diff)
core: ofnode_graph: Fix a comment
Naming between the parameter list, the prototype and the main comment do not match. Fix the comment which seems the be the one that is incorrect. Fixes: 9057077cf4e1 ("core: ofnode: add of_graph parsing helpers") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Svyatoslav Ryhel <clamor95@gmail.com>
-rw-r--r--drivers/core/ofnode_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/ofnode_graph.c b/drivers/core/ofnode_graph.c
index 90c92af3258..175ac768771 100644
--- a/drivers/core/ofnode_graph.c
+++ b/drivers/core/ofnode_graph.c
@@ -98,7 +98,7 @@ ofnode ofnode_graph_get_port_by_id(ofnode parent, u32 id)
* @id: id for the endpoint
*
* Return: ofnode in given endpoint or ofnode_null() if not found.
- * reg and port_reg are ignored when they are -1.
+ * reg_id and id are ignored when they are -1.
*/
ofnode ofnode_graph_get_endpoint_by_regs(ofnode parent, int reg_id, int id)
{