Commit 6e004a98 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Bartosz Golaszewski

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent b2498cb8
...@@ -243,7 +243,7 @@ static DRIVER_ATTR_WO(delete_device); ...@@ -243,7 +243,7 @@ static DRIVER_ATTR_WO(delete_device);
static struct attribute *gpio_aggregator_attrs[] = { static struct attribute *gpio_aggregator_attrs[] = {
&driver_attr_new_device.attr, &driver_attr_new_device.attr,
&driver_attr_delete_device.attr, &driver_attr_delete_device.attr,
NULL, NULL
}; };
ATTRIBUTE_GROUPS(gpio_aggregator); ATTRIBUTE_GROUPS(gpio_aggregator);
...@@ -517,7 +517,7 @@ static const struct of_device_id gpio_aggregator_dt_ids[] = { ...@@ -517,7 +517,7 @@ static const struct of_device_id gpio_aggregator_dt_ids[] = {
* Add GPIO-operated devices controlled from userspace below, * Add GPIO-operated devices controlled from userspace below,
* or use "driver_override" in sysfs * or use "driver_override" in sysfs
*/ */
{}, {}
}; };
MODULE_DEVICE_TABLE(of, gpio_aggregator_dt_ids); MODULE_DEVICE_TABLE(of, gpio_aggregator_dt_ids);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment