devm_reboot_mode_unregister(9)
π 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 π
- Kernel file
./drivers/power/reset/reboot-mode.c reboot_mode_register(9)reboot_mode_unregister(9)devm_reboot_mode_register(9)
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
- 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