devm_regulator_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 bestie, it's devm_regulator_put(9) time 🌸

okay so welcome to the Kernel API Manual page for devm_regulator_put(9) πŸ’–. This one's short and sweet and it's literally just "the devm cleanup girlies have it handled" energy. Let's go 🫢


✨ NAME ✨

devm_regulator_put β€” Resource managed regulator_put() πŸŽ€

it's giving "put but with devm magic", iykyk πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

void devm_regulator_put (struct regulator *regulator );

🌼 ARGUMENTS 🌼

  • regulator β€” the regulator to free. that's her. that's the one. 🫢

πŸ’œ DESCRIPTION πŸ’œ

so the tea β˜• is: this function deallocates a regulator allocated with devm_regulator_get. periodt. that's the whole job.

but ngl bestie, normally this function will not need to be called β€” because the resource management code is main character energy πŸ‘‘ and will ensure that the resource is freed for you. so like, highkey you can just let devm do its thing and not stress. ✨

fr fr, you probably won't need to call this β€” the whole point of the devm_ prefix is that cleanup is automatic. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/regulator/devres.c plus all these icons:


and that's the whole page bestie πŸ’–. this icon lives in ./drivers/regulator, dated October 2026, version devm_regulator_put(9). mwah, slay, go let devm clean up after you πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from