platform/x86: wmi: remove commas
authorBarnabás Pőcze <pobrn@protonmail.com>
Sat, 4 Sep 2021 17:55:02 +0000 (17:55 +0000)
committerHans de Goede <hdegoede@redhat.com>
Tue, 14 Sep 2021 10:26:00 +0000 (12:26 +0200)
Remove commas that are after terminating entries in arrays.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210904175450.156801-4-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/wmi.c

index 73ed17a53af5e2d7a0715b6638335be85382f7b4..67c09d81a676220cdba3a3823f16f419c5932cfe 100644 (file)
@@ -714,7 +714,7 @@ static struct attribute *wmi_attrs[] = {
        &dev_attr_guid.attr,
        &dev_attr_instance_count.attr,
        &dev_attr_expensive.attr,
-       NULL,
+       NULL
 };
 ATTRIBUTE_GROUPS(wmi);
 
@@ -729,7 +729,7 @@ static DEVICE_ATTR_RO(notify_id);
 
 static struct attribute *wmi_event_attrs[] = {
        &dev_attr_notify_id.attr,
-       NULL,
+       NULL
 };
 ATTRIBUTE_GROUPS(wmi_event);
 
@@ -755,13 +755,13 @@ static DEVICE_ATTR_RO(setable);
 static struct attribute *wmi_data_attrs[] = {
        &dev_attr_object_id.attr,
        &dev_attr_setable.attr,
-       NULL,
+       NULL
 };
 ATTRIBUTE_GROUPS(wmi_data);
 
 static struct attribute *wmi_method_attrs[] = {
        &dev_attr_object_id.attr,
-       NULL,
+       NULL
 };
 ATTRIBUTE_GROUPS(wmi_method);