Skip to content

Commit 6e004a9

Browse files
andy-shevbrgl
authored andcommitted
gpio: aggregator: Remove trailing comma in terminator entries
Remove trailing comma in terminator entries to avoid potential expanding an array behind it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent b2498cb commit 6e004a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpio/gpio-aggregator.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ static DRIVER_ATTR_WO(delete_device);
243243
static struct attribute *gpio_aggregator_attrs[] = {
244244
&driver_attr_new_device.attr,
245245
&driver_attr_delete_device.attr,
246-
NULL,
246+
NULL
247247
};
248248
ATTRIBUTE_GROUPS(gpio_aggregator);
249249

@@ -517,7 +517,7 @@ static const struct of_device_id gpio_aggregator_dt_ids[] = {
517517
* Add GPIO-operated devices controlled from userspace below,
518518
* or use "driver_override" in sysfs
519519
*/
520-
{},
520+
{}
521521
};
522522
MODULE_DEVICE_TABLE(of, gpio_aggregator_dt_ids);
523523
#endif

0 commit comments

Comments
 (0)