of_node_put_kunit(9)
π 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 toof_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 π
- the kernel file
./drivers/of/of_kunit_helpers.c of_root_kunit_skip(9)of_overlay_fdt_apply_kunit(9)
that's the whole page, bestie π«Ά source: ./drivers/of Β· date: October 2026 Β· manual: of_node_put_kunit(9). 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