devm_pwrseq_device_register(9)
π NAME
devm_pwrseq_device_register β bestie, it's literally the managed variant of pwrseq_device_register(). That's the whole vibe. β¨
πΈ SYNOPSIS
struct pwrseq_device * devm_pwrseq_device_register (struct device *dev ,
const struct pwrseq_config *config );
okay so it takes a dev and a config and hands u back a shiny struct pwrseq_device *, no cap π«Ά
π ARGUMENTS
devβ the managing device. like, the one in charge here. main character energy honestly πconfigβ the configuration of the new power sequencing device. it's giving "here's the blueprint, go slay" π¦
β RETURN
Returns the address of the new pwrseq device β or ERR_PTR on failure π so yeah, check it, don't just assume it worked, iykyk.
π₯ SEE ALSO
the kernel file lives at ./drivers/power/sequencing/core.c, and here's the whole friend group β¨:
struct pwrseq_unit(9)struct pwrseq_unit_dep(9)struct pwrseq_target(9)struct pwrseq_device(9)struct pwrseq_desc(9)pwrseq_device_register(9)pwrseq_device_unregister(9)pwrseq_device_get_drvdata(9)pwrseq_get(9)pwrseq_put(9)devm_pwrseq_get(9)pwrseq_enable(9)pwrseq_disable(9)pwrseq_to_device(9)
lowkey obsessed with how tidy this whole subsystem is π go read the rest of them fr fr
ok that's the page!! this was brought to you by the Kernel API Manual β located in ./drivers/power/sequencing, dated October 2026, and the page itself is devm_pwrseq_device_register(9). 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