wakeup_source_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… wakeup_source_unregister(9)

okay so we're in the Kernel API Manual bestie, and this page is literally about ✨cleanup✨ β€” the moment a wakeup source gets yeeted off the list and then destroyed. main character energy is removal, and honestly? iconic.


🌸 NAME

wakeup_source_unregister β€” remove a wakeup source from the list, and then remove it. periodt.

(no cap, that's the whole name description: "Remove wakeup source from the list and remove it." Two steps, both slay. πŸ’–)


✨ SYNOPSIS

void wakeup_source_unregister (struct wakeup_source *ws );

it's a void function, so don't go looking for a return value bestie, there isn't one πŸ™ˆ


πŸŽ€ ARGUMENTS

  • ws β€” the wakeup source object you want to unregister. that's it. that's the whole arg. hand it over and let it go πŸ¦‹

πŸ‘‘ SEE ALSO

okay so the whole friend group is here, and yes the original lists this exact kernel file plus every single one of these β€” no skipping, i promised:

Kernel file ./drivers/base/power/wakeup.c

like, that's the entire roster πŸ”₯ go read them, i'll wait πŸ’œ


lowkey a reminder from your girl: this page only says what the function does β€” remove from the list, then remove it. anything beyond that is between you and ./drivers/base/power/wakeup.c 🫢

and that's the page! πŸŽ€ brought to you by ./drivers/base/power, dated October 2026, and filed under wakeup_source_unregister(9) β€” mwah, bye bestie, go unregister responsibly πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from