serdev_device_put(9)
π 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 π―ββοΈ:
- Kernel file
./include/linux/serdev.h struct serdev_device_ops(9)struct serdev_device(9)struct serdev_device_driver(9)struct serdev_controller(9)serdev_controller_put(9)serdev_device_driver_unregister(9)
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 yourgets with yourputs, 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
- 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