Skip to content

Commit

Permalink
hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan…
Browse files Browse the repository at this point in the history
…]_attributes

Signed-off-by: Axel Lin <[email protected]>
Cc: [email protected]
Acked-by: Jean Delvare <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
  • Loading branch information
AxelLin authored and groeck committed Mar 14, 2013
1 parent e89ab51 commit df06907
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/hwmon/lineage-pem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand Down

0 comments on commit df06907

Please sign in to comment.