serdev_controller_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… serdev_controller_remove(9)

okay bestie, so this page lives in the Kernel API Manual β€” it's the serdev_controller_remove page, and yes it's a whole vibe πŸ’–


✨ NAME ✨

serdev_controller_remove β€” remove an serdev controller πŸŽ€

(not me copying the grammar exactly, the original says "an serdev controller" and I'm not about to gaslight you into thinking it says "a" β€” we keep it fr fr)


🌸 SYNOPSIS 🌸

void serdev_controller_remove (struct serdev_controller *ctrl );

bestie it literally returns nothing (void), it just goes in and does the thing ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctrl β€” the controller to remove πŸ‘‘ this is the main character of the whole operation

πŸ’œ DESCRIPTION πŸ’œ

So the way that this works: you call this to remove an serdev controller. That's it, that's the job 🌈

⚠️ but listen, this part is important and I'm not gonna let you skip it: the caller is responsible for calling serdev_controller_put to discard the allocated controller. Like, you gotta clean up after yourself, no cap. This function is not gonna do it for you 🫢

πŸ“ SEE ALSO πŸ“

Kernel file ./drivers/tty/serdev/core.c β€” and here's the whole friend group, go say hi πŸ’…


and that's the whole page babe, you ate that 🧚✨ sign-off time: this one hangs out in ./drivers/tty/serdev, dated October 2026, and it's all about serdev_controller_remove(9) πŸ’–πŸŒ·β­

πŸ“¦ where this page comes from