Skip to content

Commit

Permalink
rename hwmon group
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Mar 21, 2024
1 parent 4df8f47 commit 424c711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel_module/legion-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -5690,7 +5690,7 @@ static ssize_t legion_hwmon_init(struct legion_private *priv, bool legion_go)
// TODO: Use devm_hwmon_device_register_with_groups ?
// some laptop drivers use this, some
struct device *hwmon_dev = hwmon_device_register_with_groups(
&priv->platform_device->dev, "legion_hwmon", priv,
&priv->platform_device->dev, "Legion", priv,
legion_go ? legion_hwmon_groups_legion_go : legion_hwmon_groups);
if (IS_ERR_OR_NULL(hwmon_dev)) {
pr_err("hwmon_device_register failed!\n");
Expand Down

0 comments on commit 424c711

Please sign in to comment.