diff options
author | 2023-02-13 12:57:02 -0600 | |
---|---|---|
committer | 2023-02-20 15:37:19 -0600 | |
commit | d9194e009efef9613f48022f3c885191c48120f9 (patch) | |
tree | 12609eee961b9c7845c0d8173271db84422f4829 /scripts/lib/kdoc/kdoc_files.py | |
parent | of: add consistency check to of_node_release() (diff) | |
download | wireguard-linux-d9194e009efef9613f48022f3c885191c48120f9.tar.xz wireguard-linux-d9194e009efef9613f48022f3c885191c48120f9.zip |
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: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20230213185702.395776-8-frowand.list@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions