devm_regulator_get(9)
π devm_regulator_get(9) β like, the whole vibe
okay bestie, welcome to the Kernel API Manual page for devm_regulator_get(9) β yes the whole page title is literally the function name, main character energy fr fr β¨
πΈ NAME
devm_regulator_get β the resource managed version of regulator_get() π
π¦ SYNOPSIS
struct regulator * devm_regulator_get (struct device *dev , const char *id );
like, that's the whole signature, no cap π«Ά
π ARGUMENTS
devβ the device that's gonna be supplied, aka the one getting the juice β‘idβ the supply name or the regulator ID. pick your fighter π
β¨ DESCRIPTION
okay so this is the managed regulator_get. the regulators you get back from this function are automatically regulator_put'd when the driver detaches β like, it does the cleanup for you, so you don't have to ππ
for more deets on how the getting part actually works, go peek at regulator_get π
π₯ SEE ALSO
- Kernel file
./drivers/regulator/devres.cβ the source, iykyk π 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_put(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, bestie π β brought to you by the fine people in ./drivers/regulator, dated October 2026. go forth and manage your resources responsibly, 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