of_node_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” this page is of_node_put(9), and the function is of_node_put β€” Decrement refcount of a node πŸ’…βœ¨. That's the whole assignment. It's giving tiny-but-important refcount cleanup energy 🫢.

✨ SYNOPSIS ✨

void of_node_put (struct device_node *node );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • node β€” the node you're dropping a refcount on (dec refcount, bestie πŸ’–). NULL is supported to simplify writing of callers, so yes you can pass NULL and it's not a whole crisis 🌸.

🌈 SEE ALSO 🌈

Kernel file ./drivers/of/dynamic.c β€” that's where this lives, and the whole reference squad is: of_node_get(9), of_attach_node(9), of_detach_node(9), of_node_release(9), __of_prop_dup(9), __of_node_dup(9), of_changeset_create_node(9), of_changeset_init(9), of_changeset_destroy(9), of_changeset_apply(9), of_changeset_revert(9), of_changeset_action(9), of_changeset_add_prop_string(9), of_changeset_add_prop_string_array(9), of_changeset_add_prop_u32_array(9), of_changeset_add_prop_bool(9), of_changeset_update_prop_string(9) πŸ§šπŸ’œ.


mwah πŸ’– source/version ./drivers/of, date October 2026, manual of_node_put(9) β€” that's the cute little footer sign-off, bestie, bye! 🫢

πŸ“¦ where this page comes from