summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-03-14 16:27:18 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-20 13:10:55 -0700
commita175e80ac6b766405803486762ad38d96633f7f9 (patch)
tree1d07d40263b9fc642e10887ffd3cd7e879710bbd /drivers/hwmon
parentd5100b3ba633d3128c6bc64637d971ea3f39d5e0 (diff)
downloadlinux-stable-a175e80ac6b766405803486762ad38d96633f7f9.tar.gz
linux-stable-a175e80ac6b766405803486762ad38d96633f7f9.tar.bz2
linux-stable-a175e80ac6b766405803486762ad38d96633f7f9.zip
hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attributes
commit df069079c153d22adf6c28dcc0b1cf62bba75167 upstream. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/lineage-pem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/lineage-pem.c b/drivers/hwmon/lineage-pem.c
index 41df29f59b0e..ebbb9f4f27a3 100644
--- a/drivers/hwmon/lineage-pem.c
+++ b/drivers/hwmon/lineage-pem.c
@@ -422,6 +422,7 @@ static struct attribute *pem_input_attributes[] = {
&sensor_dev_attr_in2_input.dev_attr.attr,
&sensor_dev_attr_curr1_input.dev_attr.attr,
&sensor_dev_attr_power1_input.dev_attr.attr,
+ NULL
};
static const struct attribute_group pem_input_group = {
@@ -432,6 +433,7 @@ static struct attribute *pem_fan_attributes[] = {
&sensor_dev_attr_fan1_input.dev_attr.attr,
&sensor_dev_attr_fan2_input.dev_attr.attr,
&sensor_dev_attr_fan3_input.dev_attr.attr,
+ NULL
};
static const struct attribute_group pem_fan_group = {