Skip to content
Snippets Groups Projects
Commit d9194e00 authored by Frank Rowand's avatar Frank Rowand Committed by Rob Herring
Browse files

of: dynamic: add lifecycle docbook info to node creation functions


The existing docbook comments for the functions related to creating
a devicetree node do not explain the reference count of a newly
created node, how decrementing the reference count to zero will
free the associated memory, and the caller's responsibility to
call of_node_put() on the node.  Explain what happens when the
reference count is decremented to zero.

Signed-off-by: default avatarFrank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20230213185702.395776-8-frowand.list@gmail.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent ec0b7e24
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment