devm_regulator_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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


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