of_changeset_add_prop_bool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

of_changeset_add_prop_bool(9) β€” okay bestie, this is the Kernel API Manual page for of_changeset_add_prop_bool: add a boolean property (i.e. a property without any values) to a changeset. lowkey iconic behavior, fr fr πŸ’…βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

int of_changeset_add_prop_bool (struct of_changeset *ocs , struct device_node *np , const char *prop_name );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ocs β€” changeset pointer. like, the changeset bestie in question 🫢
  • np β€” device node pointer. the device node bestie in question 🌸
  • prop_name β€” name of the property to be added. yes, the name, no cap πŸ’–

✨ DESCRIPTION ✨

Create a boolean property and add it to a changeset.

That’s the whole little ritual, bestie: create a boolean property, then add it to a changeset. periodt πŸ’…πŸŽ€


🌈 RETURN 🌈

0 on success, a negative error value in case of an error.

so yeah: happy path gives you 0, and if something goes wrong you get a negative error value. not me being dramatic about error values πŸ˜­πŸ’€


🫢 SEE ALSO 🫢

The Kernel file is ./drivers/of/dynamic.c, and the whole squad is right here:


okay that’s the page, bestie πŸ’œ this one is from ./drivers/of, dated October 2026, and it’s literally of_changeset_add_prop_bool(9) β€” bye bye, slay responsibly πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from