mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attributes
commit df069079c1
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>
This commit is contained in:
parent
fa5553789e
commit
dce5c33d7a
1 changed files with 2 additions and 0 deletions
|
@ -421,6 +421,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 = {
|
||||
|
@ -431,6 +432,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 = {
|
||||
|
|
Loading…
Reference in a new issue