lwmi_tm_register_notifier(9)
okay so bestie, this is lwmi_tm_register_notifier(9) from the Kernel API Manual, and we are about to make notifier registration make sense π
β¨ NAME β¨
lwmi_tm_register_notifier β add a notifier to the blocking notifier chain π¦
π¦ SYNOPSIS π¦
int lwmi_tm_register_notifier (struct notifier_block *nb );
π ARGUMENTS π
nbβ thenotifier_blockstruct to register. That's the little guy you're handing over π
π DESCRIPTION π
okay so here's the vibe: this function calls blocking_notifier_chain_register to register the notifier block to the thermal mode notifier chain. That's literally the whole plot, no cap β¨
π RETURN π
0β success, slay π-EEXISTβ the error return π
π SEE ALSO π
- Kernel file
./drivers/platform/x86/lenovo/wmi-helpers.c lwmi_dev_evaluate_int(9)lwmi_tm_unregister_notifier(9)devm_lwmi_tm_unregister_notifier(9)devm_lwmi_tm_register_notifier(9)lwmi_tm_notifier_call(9)lwmi_debugfs_create_dir(9)
xoxo, signed off from ./drivers/platform/x86/lenovo in October 2026, and this has been lwmi_tm_register_notifier(9) β bye bestie ππ«Ά
π¦ 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