put_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– put_device(9) β€” Kernel API Manual πŸ’–

okay so bestie, this is put_device(9) from the Kernel API Manual, and it’s giving tiny-but-iconic: one function, one argument, one whole job. No cap. πŸ’…


🌸 NAME 🌸

put_device β€” decrement reference count.

πŸ¦‹ SYNOPSIS πŸ¦‹

void put_device (struct device *dev );

✨ ARGUMENTS ✨

  • dev β€” device in question. That’s the whole vibe: you pass in the struct device * that is the device in question, and that’s it, periodt. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file is ./drivers/base/core.c, and the full linked-squad lineup is literally right here β€” every single one, no skipping:


mwah πŸ’‹ that’s the whole page, bestie β€” it’s filed under ./drivers/base, dated October 2026, and yes, the title is put_device(9) 🫢✨

πŸ“¦ where this page comes from