devm_reboot_mode_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_reboot_mode_unregister(9) β€” like, the kernel API manual bestie ✨

okay so this is a page from the Kernel API Manual, and it's about devm_reboot_mode_unregister β€” the resource-managed version of reboot_mode_unregister(). Yes, the "devm" prefix is doing exactly what you think it's doing. It's giving "I clean up after myself" energy and we love that for us 🫢


✨ NAME ✨

devm_reboot_mode_unregister β€” resource managed reboot_mode_unregister()

like, it's the same vibe as the regular one, but with the devm glow-up πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

void devm_reboot_mode_unregister (struct device *dev , struct reboot_mode_driver *reboot );

that's the whole thing. no cap, it returns void. it just does the thing and dips 🌸


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device to associate this resource with. it's the main character that this whole managed-resource situation is attached to πŸ‘‘
  • reboot β€” the reboot mode driver. literally the thing you're unregistering, bestie 🧚

🌈 SEE ALSO 🌈

the whole friend group fr fr β€” register, unregister, the devm ones, all of them living in reboot-mode.c like one big happy file πŸ’€βœ¨


lowkey a reminder that the devm_ versions exist so you don't have to manually tear things down yourself β€” that's the whole point of the resource-managed clone. iconic behaviour, honestly πŸ’…

and that's the page!! source/version vibes live under ./drivers/power/reset, dated October 2026, and yes the header and footer are both just devm_reboot_mode_unregister(9) again because the manpage said so πŸ’œ bye bestie, go unregister responsibly πŸ“

πŸ“¦ where this page comes from