diff options
author | Frank Rowand <frowand.list@gmail.com> | 2023-02-13 21:57:02 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-02-21 00:37:19 +0300 |
commit | d9194e009efef9613f48022f3c885191c48120f9 (patch) | |
tree | 12609eee961b9c7845c0d8173271db84422f4829 /.cocciconfig | |
parent | ec0b7e24d566a843e3cfba21a6471170fdb0f810 (diff) | |
download | linux-d9194e009efef9613f48022f3c885191c48120f9.tar.xz |
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 '.cocciconfig')
0 files changed, 0 insertions, 0 deletions