hid_destroy_device(9)
π 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:
hid_parse_report(9)hid_validate_values(9)hid_open_report(9)hid_match_report(9)hid_match_usage(9)hid_input_report(9)hid_safe_input_report(9)hid_hw_start(9)hid_hw_stop(9)hid_hw_open(9)hid_hw_close(9)hid_hw_request(9)hid_hw_raw_request(9)hid_hw_output_report(9)new_id_store(9)hid_compare_device_paths(9)hid_allocate_device(9)
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
- 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