From: Jean Delvare Date: Sun, 17 Jul 2011 16:39:19 +0000 (+0200) Subject: hwmon: (it87) Fix label group removal X-Git-Tag: upstream/snapshot3+hdmi~9656^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa8b69758e65b406c8010936b541cd00deef804d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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: Jean Delvare Cc: stable@kernel.org Acked-by: Guenter Roeck --- diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index bb6405b..5f52477 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c @@ -1538,7 +1538,7 @@ static struct attribute *it87_attributes_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 */