lwmi_tm_register_notifier(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” the notifier_block struct 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 πŸ‘‘


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