]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
leds: turris-omnia: Drop commas in the terminator entries
authorMarek Behún <kabel@kernel.org>
Thu, 17 Apr 2025 07:05:07 +0000 (09:05 +0200)
committerLee Jones <lee@kernel.org>
Wed, 14 May 2025 08:24:57 +0000 (09:24 +0100)
Drop commas in terminator entries of `struct attribute` array and
`struct of_device_id` array.

Signed-off-by: Marek Behún <kabel@kernel.org>
Link: https://lore.kernel.org/r/20250417070507.24929-1-kabel@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-turris-omnia.c

index 4fe1a9c0bc1ba3158ab4e3d077c6c65782eddb31..25ee5c1eb820b3901a929f70855d6a64abf20377 100644 (file)
@@ -361,7 +361,7 @@ static DEVICE_ATTR_RW(gamma_correction);
 static struct attribute *omnia_led_controller_attrs[] = {
        &dev_attr_brightness.attr,
        &dev_attr_gamma_correction.attr,
-       NULL,
+       NULL
 };
 ATTRIBUTE_GROUPS(omnia_led_controller);
 
@@ -527,7 +527,7 @@ static void omnia_leds_remove(struct i2c_client *client)
 
 static const struct of_device_id of_omnia_leds_match[] = {
        { .compatible = "cznic,turris-omnia-leds", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, of_omnia_leds_match);