unregister_...rm_power_off(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… unregister_platform_power_off β€” fresh from the Kernel API Manual ✨

🌸 NAME 🌸

unregister_platform_power_off β€” Unregister platform-level power-off callback. That’s the name, bestie, and it understood the assignment. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

the signature, verbatim, no edits:

void unregister_platform_power_off (void (*power_off)(void) );

πŸŽ€ ARGUMENTS πŸŽ€

  • power_off β€” Power-off callback. That’s it. That’s the argument. πŸ’–

✨ DESCRIPTION ✨

Okay so: this one unregisters previously registered platform power-off callback. It’s giving β€œundo button for a callback that already got registered,” and that is literally the whole description. No cap. πŸ¦‹

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/reboot.c is the source home, and the whole reboot/power-off friend group is linked here:


Signed, sealed, and shipped from the ./kernel source β€” October 2026 edition, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from