of_changeset_create_node(9)
π of_changeset_create_node(9) β from the Kernel API Manual, bestie π
okay so this is the of_changeset_create_node(9) page, and it lives in the Kernel API Manual. it's giving βdynamically create a device node and attach it to a given changesetβ energy, and honestly? iconic. β¨
π NAME π
of_changeset_create_node β dynamically create a device node and attach it to a given changeset. periodt. π
β¨ SYNOPSIS β¨
struct device_node * of_changeset_create_node (struct of_changeset *ocs
, struct device_node *parent , const char *full_name );
π«Ά ARGUMENTS π«Ά
ocsβ pointer to changeset. like, the changeset in question, bestie. πparentβ pointer to parent device node. the parent node, no cap. πΈfull_nameβ node full name. yep, the whole name. π
π RETURN π
it hands you back a pointer to the created device node. and if something goes wrong? it returns NULL in case of an error. π that's the vibe check, fr fr.
π¦ SEE ALSO π¦
the kernel file is ./drivers/of/dynamic.c, and these besties are all linked up too:
of_node_get(9)of_node_put(9)of_attach_node(9)of_detach_node(9)of_node_release(9)__of_prop_dup(9)__of_node_dup(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)
π that's the whole page, bestie β source/version ./drivers/of, dated October 2026. mwah π
β¨
π¦ 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