devm_regulat...ter_notifier(9)
π NAME π
devm_regulator_unregister_notifier β the resource-managed version of regulator_unregister_notifier(), bestie β¨
π¦ SYNOPSIS π¦
void devm_regulator_unregister_notifier (struct regulator *regulator ,
struct notifier_block *nb );
πΈ ARGUMENTS πΈ
regulatorβ the regulator source, aka where the good stuff comes from πnbβ the notifier block, no cap π
β¨ DESCRIPTION β¨
Okay so real talk: this one unregisters a notifier that got registered with devm_regulator_register_notifier. That's the whole gig π«Ά
And here's the tea β normally you won't even need to call this yourself, because the resource management code handles it and makes sure the resource gets freed. It's giving "the devm machinery has your back" energy πβ¨
π SEE ALSO π
Kernel file ./drivers/regulator/devres.c plus the whole friend group:
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_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_irq_helper(9)devm_of_regulator_get(9)devm_of_regulator_get_optional(9)
That's the whole page, bestie β you ate that π Shoutout to ./drivers/regulator for the home turf, and this lil gem is dated October 2026. Iykyk ππ¦
devm_regulat...ter_notifier(9) β periodt. π
π¦ 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