thermal_debug_cdev_remove(9)
π thermal_debug_cdev_remove(9) π
okay bestie, welcome to this page from the Kernel API Manual β itβs all about thermal_debug_cdev_remove(9), and the vibe is very βclean up the cooling-device debugfs situation.β No cap. π«Ά
πΈ NAME πΈ
Remove a cooling device debugfs entry β thatβs the whole assignment. iconic, honestly. β¨
π¦ SYNOPSIS π¦
hereβs the exact signature, bestie β no cap, keep it verbatim:
void thermal_debug_cdev_remove (struct thermal_cooling_device *cdev );
π ARGUMENTS π
cdevβ a pointer to a cooling device. yes, literally just the pointer, bestie. π
π₯ DESCRIPTION π₯
Frees the statistics memory data and remove the debugfs entry. thatβs it β memory data goes poof and the debugfs entry is out. π§Ήβ¨
π SEE ALSO π
go give these a peek, iykyk:
- Kernel file
./drivers/thermal/thermal_debugfs.c struct cdev_debugfs(9)struct cdev_record(9)struct trip_stats(9)struct tz_episode(9)struct tz_debugfs(9)struct thermal_debugfs(9)thermal_debug_cdev_state_update(9)thermal_debug_cdev_add(9)
mwah π β signed off from source/version ./drivers/thermal, dated October 2026, for thermal_debug_cdev_remove(9). slay. π
π¦ 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