of_genpd_remove_child_ids(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 of_genpd_remove_child_ids(9) β€” Kernel API Manual 🌈

okay bestie, this is the manual page for of_genpd_remove_child_ids(9), and it’s giving β€œcleaning up the PM domain family tree” energy πŸ’… no cap.


πŸ¦‹ NAME πŸ¦‹

of_genpd_remove_child_ids β€” Remove parent-child PM domain relationships

✨ SYNOPSIS ✨

int of_genpd_remove_child_ids (struct device_node *np , struct
       genpd_onecell_data *data );

πŸ’… ARGUMENTS πŸ’…

  • np β€” Device node pointer associated with the PM domain provider. Like, the device node bestie tied to the PM domain provider 🫢
  • data β€” Pointer to the onecell data associated with the PM domain provider. That’s the onecell data bestie for the same PM domain provider ✨

πŸ”₯ DESCRIPTION πŸ”₯

Okay so this function reverses the effect of of_genpd_add_child_ids by parsing the same power-domains and power-domains-child-ids properties and calling pm_genpd_remove_subdomain for each established relationship πŸŽ€

It returns 0 on success, -ENOENT if properties don’t exist, or negative error code on failure. Periodt πŸ’…

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/pmdomain/core.c β€” yes, the whole genpd extended family is here, iykyk πŸ‘‘


that’s the whole page, bestie 🫢 β€” source/version: ./drivers/pmdomain, date: October 2026. stay iconic ✨

πŸ“¦ where this page comes from