hid_destroy_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ hid_destroy_device(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual page for hid_destroy_device(9) β€” yes, the manual name is folded right in here so we're not doing a whole header rerun. πŸ’…

✨ NAME ✨

hid_destroy_device β€” free previously allocated device. πŸ¦‹

🌸 SYNOPSIS 🌸

void hid_destroy_device (struct hid_device *hdev );

πŸ’– ARGUMENTS πŸ’–

  • hdev β€” the hid device. πŸŽ€

πŸ‘‘ DESCRIPTION πŸ‘‘

If you allocate hid_device through hid_allocate_device, then freeing is this function's whole moment β€” you should ever free by this function, bestie. πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/hid/hid-core.c plus the whole squad:


mwah πŸ’‹ this page lives in ./drivers/hid, stamped October 2026, and it's all about hid_destroy_device(9) β€” bye bestie! 🫢

πŸ“¦ where this page comes from