of_node_put_kunit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so welcome to of_node_put_kunit(9) from the Kernel API Manual, bestie β€” this is the test-managed version of of_node_put(), and it is literally here to clean up after itself. no cap. πŸŽ€

✨ SYNOPSIS ✨

void of_node_put_kunit (struct kunit *test , struct device_node *node );

🫢 ARGUMENTS 🫢

  • test β€” the test context. it's giving "whose test case is this anyway" energy, but make it kunit. πŸ’–
  • node β€” the node to pass to of_node_put. yes, exactly that node. πŸ¦‹

🌸 DESCRIPTION 🌸

Just like of_node_put, except the node is managed by the test case and is automatically put with of_node_put after the test case concludes. so the test case handles the cleanup for you β€” iconic behavior, honestly. periodt. ✨

πŸ’… SEE ALSO πŸ’…


that's the whole page, bestie 🫢 source: ./drivers/of Β· date: October 2026 Β· manual: of_node_put_kunit(9). mwah πŸ’‹

πŸ“¦ where this page comes from