of_node_put(9)
π 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 π).NULLis supported to simplify writing of callers, so yes you can passNULLand 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms