Skip to contentSkip to conversation

leds: turris-omnia: Drop commas in the terminator entries

PATCH Applied Marek Behún 2 participants 2 messages Apr 17, 2025 – Apr 24, 2025

Subsystems (2)
lore
Share & tools
lore

Marek Behún

author maintainer
#0 lore raw

PATCH 1/1 leds: turris-omnia: Drop commas in the terminator entries

Drop commas in terminator entries of struct attribute array and struct of_device_id array.

---
 drivers/leds/leds-turris-omnia.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/leds/leds-turris-omnia.c +2 -2
index 4fe1a9c0bc1b..25ee5c1eb820 100644
@@ -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);
 
Signature · 1 line
2.49.0
maintainer Applied
#1 lore raw

Re: (subset) [PATCH leds] leds: turris-omnia: Drop commas in the terminator entries

Quoted 4 lines · Marek Behún

Drop commas in terminator entries of struct attribute array and struct of_device_id array.

Applied, thanks!

[1/1] leds: turris-omnia: Drop commas in the terminator entries

      commit: c5b44f3d3b177ae8e4a59fa522e21cbd6af3faa7

--
Lee Jones [李琼斯]