lwmi_om_hwmon_remove(9)
π lwmi_om_hwmon_remove(9) β the Kernel API Manual, bestie edition β¨
okay so this is lwmi_om_hwmon_remove, straight outta the Kernel API Manual, section 9 β the one where the kernel devs hang out π«Ά. It's a tiny little function with one job and honestly? It does it. No notes. π
πΈ NAME πΈ
lwmi_om_hwmon_remove β Unregister HWMON device π
β¨ SYNOPSIS β¨
void lwmi_om_hwmon_remove (struct lwmi_om_priv *priv );
like, that's it. that's the whole vibe check. void, so it returns nothing β no exit code, no little gift for you, just vibes π
π¦ ARGUMENTS π¦
privβ Driver private data. it's the driver's own little bag of secrets, and yeah, we're handing it over. π
π₯ DESCRIPTION π₯
Unregisters the HWMON device if applicable π
that's the whole thing, fr fr. the "if applicable" is doing a lot of heavy lifting there β sometimes there's a HWMON device to unregister, sometimes there just isn't, and this function is not about to make it weird about it. she just handles it. main character energy. π
π§ SEE ALSO π§
the whole squad, no cap β every single one of these cuties is on the list π:
lwmi_om_fan_get_set(9)lwmi_om_hwmon_is_visible(9)lwmi_om_hwmon_read(9)lwmi_om_hwmon_write(9)lwmi_om_hwmon_add(9)lwmi_om_fan_info_init(9)lwmi_om_fan_info_collect_cd00(9)lwmi_om_fan_info_collect_cd_fan(9)lwmi_psy_ext_get_prop(9)lwmi_psy_ext_set_prop(9)lwmi_psy_prop_is_supported(9)lwmi_psy_prop_is_writeable(9)lwmi_add_battery(9)lwmi_remove_battery(9)lwmi_acpi_match(9)lwmi_om_psy_ext_init(9)lwmi_om_psy_remove(9)tunable_attr_01_id(9)int_type_show(9)attr_capdata01_show(9)attr_current_value_store(9)attr_current_value_show(9)lwmi_attr_01_is_supported(9)lwmi_om_fw_attr_add(9)lwmi_om_fw_attr_remove(9)lwmi_om_master_bind(9)lwmi_om_master_unbind(9)
and the actual source, if you wanna go touch grass and read it π:
- Kernel file
./drivers/platform/x86/lenovo/wmi-other.c
okay that's the page!! π it ships from ./drivers/platform/x86/lenovo, dated October 2026 β mark your calendars bestie, future us is thriving πβ¨π¦ ily, go unregister something (if applicable). 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