projects
/
unionfs-2.6.25.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5100b3
)
hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attributes
author
Axel Lin
<axel.lin@ingics.com>
Thu, 14 Mar 2013 08:27:18 +0000
(16:27 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 20 Mar 2013 20:10:55 +0000
(13:10 -0700)
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>
drivers/hwmon/lineage-pem.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/lineage-pem.c
b/drivers/hwmon/lineage-pem.c
index 41df29f59b0e5dd011f8258c228b14650a174f5f..ebbb9f4f27a3357714f9c654979d73def306c766 100644
(file)
--- 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 = {