diff options
author | 2025-04-17 09:05:07 +0200 | |
---|---|---|
committer | 2025-05-14 09:24:57 +0100 | |
commit | f9a2eacb9107365c3f1e3061e2c435cafd554fc8 (patch) | |
tree | 9b7188ee74985b7a8064c9dd0369f4ba37495f1d | |
parent | leds: lp8860: Disable GPIO with devm action (diff) | |
download | wireguard-linux-f9a2eacb9107365c3f1e3061e2c435cafd554fc8.tar.xz wireguard-linux-f9a2eacb9107365c3f1e3061e2c435cafd554fc8.zip |
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>
-rw-r--r-- | drivers/leds/leds-turris-omnia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-turris-omnia.c b/drivers/leds/leds-turris-omnia.c index 4fe1a9c0bc1b..25ee5c1eb820 100644 --- a/drivers/leds/leds-turris-omnia.c +++ b/drivers/leds/leds-turris-omnia.c @@ -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); |