of_device_is...r_controller(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– of_device_is...r_controller(9) πŸ’–

okay bestie, so this one is a page from the Kernel API Manual and it's lowkey tiny but it's mighty, so let's get into it ✨


🌸 NAME 🌸

of_device_is_system_power_controller β€” the function that tells you if system-power-controller is found for a device_node. that's it, that's the whole gig πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bool of_device_is_system_power_controller (const struct device_node *np
);

πŸŽ€ ARGUMENTS πŸŽ€

  • np β€” it's a pointer to the given device_node, bestie. that's the thing you're asking about 🫢

⭐ RETURN ⭐

it gives you true if it's present, and false otherwise. binary queen behavior, no in-between, no "it depends" 😌

ngl this is the shortest return section i've ever seen and honestly? iconic. nothing extra, nothing messy, just vibes and a bool πŸ”₯

🌈 SEE ALSO 🌈

so there's a whole friend group here and they all live in the kernel file ./include/linux/of.h β€” go say hi to all of them πŸ’œ


and that's the whole page, bestie, you ate that πŸ“ this little gem lives under ./include/linux and it's dated October 2026, so yeah β€” it's giving future icon, periodt βœ¨πŸ‘‘πŸ’–

πŸ“¦ where this page comes from