free_device_data(9)
π free_device_data(9) π
okay bestie, welcome to the Kernel API Manual page for free_device_data(9) β we're doing kernel cleanup with main character energy β¨
π NAME π
free_device_data β callback to free the event_device_data structure. periodt π
πΈ SYNOPSIS πΈ
void free_device_data (struct device *d );
π¦ ARGUMENTS π¦
dβ the device embedded in our device data, which we have been ref counting. she's the one we've been keeping tabs on π
β¨ DESCRIPTION β¨
okay so this callback is called only after event_device_remove has been called, and all userspace programs have called event_release on all the open file descriptors. like, everyone has to be fully out of the group chat before this runs β no cap π«Ά
π§ SEE ALSO π§
- Kernel file
./drivers/platform/chrome/wilco_ec/event.c struct ec_event(9)struct ec_event_queue(9)struct event_device_data(9)enqueue_events(9)event_device_notify(9)event_read(9)event_device_probe(9)
cute sign-off: the footer vibes are source/version ./drivers/platform/chrome/wilc..., dated October 2026, and signed free_device_data(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