lwmi_cd_component_unbind(9)
π lwmi_cd_component_unbind(9) β the unbind one, bestie
okay so hi π«Ά you've landed on a page from the Kernel API Manual, and it's literally about lwmi_cd_component_unbind. Yes the name is a mouthful, no we're not renaming it, it's iconic as-is. Let's get into it β¨
πΈ NAME πΈ
lwmi_cd_component_unbind β unbind component to master device. That's the whole errand. π
π¦ SYNOPSIS π¦
void lwmi_cd_component_unbind (struct device *cd_dev , struct device *om_dev , void *data );
π ARGUMENTS π
cd_devβ a pointer to the lenovo-wmi-capdata driver parent device. main character energy fr πom_devβ a pointer to the lenovo-wmi-other driver parent device. also showing up, also valid πdataβ unused. literally just vibing there π not doing a single thing
π₯ DESCRIPTION π₯
so here's the tea β β if cd_dev is a sub-master, the function clears the collected data from the master device.
why tho? because we're preventing a whole mess: it stops the binding establishment between the sub-master and the sub-component from calling the master callback. like, if that binding is about to happen, we're shutting it down before it can slide into the master callback uninvited π. protective queen behavior, ngl.
π SEE ALSO π
- the kernel file itself:
./drivers/platform/x86/lenovo/wmi-capdata.c lwmi_cd_match(9)lwmi_cd_match_add_all(9)lwmi_cd_call_master_cb(9)lwmi_cd_component_bind(9)lwmi_cd_sub_master_bind(9)lwmi_cd_sub_master_unbind(9)lwmi_cd_sub_master_add(9)lwmi_cd_sub_master_del(9)lwmi_cd_sub_component_bind(9)lwmi_cd00_show(9)lwmi_cd01_show(9)lwmi_cd_fan_show(9)lwmi_cd_debugfs_show(9)lwmi_cd_debugfs_add(9)lwmi_cd_debugfs_remove(9)lwmi_cd_cache(9)lwmi_cd_fan_list_alloc_cache(9)lwmi_cd_alloc(9)lwmi_cd_setup(9)lwmi_cd01_notifier_call(9)lwmi_cd01_unregister(9)
like, that's the whole friend group, go say hi to all of them π«Ά
lowkey a reminder: data genuinely does nothing here. don't go looking for hidden lore, there is none π
and that's the page!! mwah π it lives under ./drivers/platform/x86/lenovo, stamped with the date October 2026 β go read the rest of the girls, they ate too. periodt πβ¨πΈ
π¦ 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