-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi,
Thanks for providing this nice module.
Since I have migrated to last Linux mint using kernel 5.15.0-46-generic I've got this issue in dmesg:
[ 5710.372310] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info()
I'm going to try this : https://lkml.org/lkml/2019/4/30/1363
I've edited the .c file like this:
/* clevo_hwmon->dev = hwmon_device_register(dev); */
clevo_hwmon->dev = hwmon_device_register_with_info(dev, NULL,
clevo_hwmon, NULL, NULL); It does compile and clevo dialog box show the options for colors that were not visible before, but I don't see any color change
I may reboot ? But cannot right now.
Not sure this is enough, I don't know the basics of kernel modules, so, sure, I may have miss other requested changes
Thanks for helping
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels