Skip to content

Commit f9a2eac

Browse files
elkablolag-linaro
authored andcommitted
leds: turris-omnia: Drop commas in the terminator entries
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>
1 parent 982e0f0 commit f9a2eac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/leds/leds-turris-omnia.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ static DEVICE_ATTR_RW(gamma_correction);
361361
static struct attribute *omnia_led_controller_attrs[] = {
362362
&dev_attr_brightness.attr,
363363
&dev_attr_gamma_correction.attr,
364-
NULL,
364+
NULL
365365
};
366366
ATTRIBUTE_GROUPS(omnia_led_controller);
367367

@@ -527,7 +527,7 @@ static void omnia_leds_remove(struct i2c_client *client)
527527

528528
static const struct of_device_id of_omnia_leds_match[] = {
529529
{ .compatible = "cznic,turris-omnia-leds", },
530-
{},
530+
{ }
531531
};
532532
MODULE_DEVICE_TABLE(of, of_omnia_leds_match);
533533

0 commit comments

Comments
 (0)