devres_close_group(9)
β¨ NAME β¨
Okay bestie, meet devres_close_group from the Kernel API Manual π β her whole assignment is literally: Close a devres group. Thatβs the name, thatβs the mission, and she understood the assignment. π
π SYNOPSIS π
void devres_close_group (struct device *dev , void *id );
π ARGUMENTS π
devβ the device youβre closing the devres group for, bestie π«Ά. Thatβs the target device, no cap.idβ the ID of the target group, and yes, it can beNULLβ¨.
π¦ DESCRIPTION π¦
Okay so the actual move: close the group identified by id π
.
And if id is NULL? Then the latest open group is selected β thatβs the rule, periodt. π«Ά
π₯ SEE ALSO π₯
The page says to check the Kernel file ./drivers/base/devres.c and these absolute icons π:
__devres_alloc_node(9)devres_for_each_res(9)devres_free(9)devres_add(9)devres_find(9)devres_get(9)devres_remove(9)devres_destroy(9)devres_release(9)devres_release_all(9)devres_open_group(9)devres_remove_group(9)devres_release_group(9)__devm_add_action(9)devm_remove_action_nowarn(9)devm_release_action(9)devm_kmalloc(9)devm_krealloc(9)devm_kstrdup(9)devm_kstrdup_const(9)devm_kvasprintf(9)devm_kasprintf(9)devm_kfree(9)devm_kmemdup(9)devm_kmemdup_const(9)devm_get_free_pages(9)devm_free_pages(9)__devm_alloc_percpu(9)
Footer check, bestie: Kernel API Manual, source/version spot ./drivers/base, dated October 2026 ππ. Now go close that group with main character energy. ππ₯
π¦ 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