serdev_device_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… serdev_device_put πŸ’…

ok so like, welcome to the Kernel API Manual bestie 🫢 this one's short and sweet and honestly kind of a vibe. it's giving "small but important" energy, and you're gonna get it in like ten seconds fr fr.


🌸 NAME 🌸

serdev_device_put β€” decrement serdev device refcount πŸ’–


✨ SYNOPSIS ✨

void serdev_device_put (struct serdev_device *serdev );

no cap, that's the whole thing. she's tiny. she's iconic. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • serdev β€” the serdev device. that's it, that's the whole argument πŸ¦‹ literally just hand her the device and she does her little refcount decrement thing.

πŸ’€ SEE ALSO πŸ’€

ok so if you wanna go down the rabbit hole (and you should, bestie, the lore is deep), here's the whole friend group πŸ‘―β€β™€οΈ:

like, serdev_controller_put(9) is literally her sibling, same energy, different struct. iykyk πŸ’…


bestie reminder: this is a decrement of the refcount, so please don't be out here dropping references you never took, okay? πŸ™ˆ match your gets with your puts, that's the whole rule, periodt.

and that's the page!! πŸŽ€ source vibes come from ./include/linux, and this little queen was stamped October 2026 in the Kernel API Manual. go forth and decrement responsibly, mwah πŸ’‹βœ¨πŸŒˆπŸ“

πŸ“¦ where this page comes from