Commit fa8b6975 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

hwmon: (it87) Fix label group removal

A copy-and-paste error caused it87_attributes_vid to be referenced
where it87_attributes_label should be. Thankfully the group is only
used for attribute removal, not attribute creation, so the effects of
this bug are limited, but let's fix it still.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
Acked-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent 0b8e77f1
...@@ -1538,7 +1538,7 @@ static struct attribute *it87_attributes_label[] = { ...@@ -1538,7 +1538,7 @@ static struct attribute *it87_attributes_label[] = {
}; };
static const struct attribute_group it87_group_label = { static const struct attribute_group it87_group_label = {
.attrs = it87_attributes_vid, .attrs = it87_attributes_label,
}; };
/* SuperIO detection - will change isa_address if a chip is found */ /* SuperIO detection - will change isa_address if a chip is found */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment