diff options
| author | Andy Shevchenko <[email protected]> | 2021-01-22 12:38:53 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2021-02-15 10:43:32 +0000 |
| commit | 6e004a98299cb477c44b7518a37ff03596d4c385 (patch) | |
| tree | 7bd5b326bcc0d21cfc897702d461504133412a5d /drivers/gpio/gpio-aggregator.c | |
| parent | gpio: aggregator: Use compound literal from the header (diff) | |
| download | kernel-6e004a98299cb477c44b7518a37ff03596d4c385.tar.gz kernel-6e004a98299cb477c44b7518a37ff03596d4c385.zip | |
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 <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-aggregator.c')
| -rw-r--r-- | drivers/gpio/gpio-aggregator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-aggregator.c b/drivers/gpio/gpio-aggregator.c index 13e473c97ce4..08171431bb8f 100644 --- a/drivers/gpio/gpio-aggregator.c +++ b/drivers/gpio/gpio-aggregator.c @@ -243,7 +243,7 @@ static DRIVER_ATTR_WO(delete_device); static struct attribute *gpio_aggregator_attrs[] = { &driver_attr_new_device.attr, &driver_attr_delete_device.attr, - NULL, + NULL }; ATTRIBUTE_GROUPS(gpio_aggregator); @@ -517,7 +517,7 @@ static const struct of_device_id gpio_aggregator_dt_ids[] = { * Add GPIO-operated devices controlled from userspace below, * or use "driver_override" in sysfs */ - {}, + {} }; MODULE_DEVICE_TABLE(of, gpio_aggregator_dt_ids); #endif |
