devm_regulator_bulk_put(9)
β¨ devm_regulator_bulk_put(9) β¨
okay so you're reading the Kernel API Manual, bestie, and this page is about devm_regulator_bulk_put β yes the (9) is part of the name, it's giving very "section nine of the kernel manual" energy and we respect it π
π NAME π
devm_regulator_bulk_put β the resource-managed version of regulator_bulk_put(), no cap π«Ά
πΈ SYNOPSIS πΈ
void devm_regulator_bulk_put (struct regulator_bulk_data *consumers );
literally just one function, one pointer, zero drama β¨
π¦ ARGUMENTS π¦
consumersβ the consumers to free π that's the whole assignment, bestie
π DESCRIPTION π
So what does it actually do? It deallocates regulators that were allocated with devm_regulator_bulk_get. That's it, that's the vibe π§
But here's the tea π β normally you will not need to call this function at all. The resource management code handles it for you and makes sure the resource gets freed on its own. So likeβ¦ the devm machinery is the main character here, and this function is just sitting there being optional. iykyk π
ngl, don't call it just to feel something. The resource management code already has it covered fr fr π
β SEE ALSO β
all the sibling functions, in the order the page lists them β not me dropping the whole family tree π
- Kernel file
./drivers/regulator/devres.c devm_regulator_get(9)devm_regulator_get_exclusive(9)devm_regulator_get_enable_optional(9)devm_regulator_get_enable(9)devm_regulator_get_optional(9)devm_regulator_get_enable_read_voltage(9)devm_regulator_put(9)devm_regulator_bulk_get(9)devm_regulator_bulk_get_exclusive(9)devm_regulator_bulk_get_const(9)devm_regulator_bulk_get_enable(9)devm_regulator_register(9)devm_regulator_register_supply_alias(9)devm_regulator_bulk_register_supply_alias(9)devm_regulator_register_notifier(9)devm_regulator_unregister_notifier(9)devm_regulator_irq_helper(9)devm_of_regulator_get(9)devm_of_regulator_get_optional(9)
and that's the page!! mwah π this cutie lives in ./drivers/regulator, it's dated October 2026, and the page itself is devm_regulator_bulk_put(9) β go read the source, slay, bye πβ¨
π¦ 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