Commit cd3e3d29 authored by Barnabás Pőcze's avatar Barnabás Pőcze Committed by Hans de Goede

platform/x86: wmi: remove commas

Remove commas that are after terminating entries in arrays.
Signed-off-by: default avatarBarnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210904175450.156801-4-pobrn@protonmail.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 3ecace31
...@@ -714,7 +714,7 @@ static struct attribute *wmi_attrs[] = { ...@@ -714,7 +714,7 @@ static struct attribute *wmi_attrs[] = {
&dev_attr_guid.attr, &dev_attr_guid.attr,
&dev_attr_instance_count.attr, &dev_attr_instance_count.attr,
&dev_attr_expensive.attr, &dev_attr_expensive.attr,
NULL, NULL
}; };
ATTRIBUTE_GROUPS(wmi); ATTRIBUTE_GROUPS(wmi);
...@@ -729,7 +729,7 @@ static DEVICE_ATTR_RO(notify_id); ...@@ -729,7 +729,7 @@ static DEVICE_ATTR_RO(notify_id);
static struct attribute *wmi_event_attrs[] = { static struct attribute *wmi_event_attrs[] = {
&dev_attr_notify_id.attr, &dev_attr_notify_id.attr,
NULL, NULL
}; };
ATTRIBUTE_GROUPS(wmi_event); ATTRIBUTE_GROUPS(wmi_event);
...@@ -755,13 +755,13 @@ static DEVICE_ATTR_RO(setable); ...@@ -755,13 +755,13 @@ static DEVICE_ATTR_RO(setable);
static struct attribute *wmi_data_attrs[] = { static struct attribute *wmi_data_attrs[] = {
&dev_attr_object_id.attr, &dev_attr_object_id.attr,
&dev_attr_setable.attr, &dev_attr_setable.attr,
NULL, NULL
}; };
ATTRIBUTE_GROUPS(wmi_data); ATTRIBUTE_GROUPS(wmi_data);
static struct attribute *wmi_method_attrs[] = { static struct attribute *wmi_method_attrs[] = {
&dev_attr_object_id.attr, &dev_attr_object_id.attr,
NULL, NULL
}; };
ATTRIBUTE_GROUPS(wmi_method); ATTRIBUTE_GROUPS(wmi_method);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment