summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-07-13 16:29:16 -0700
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-07-15 09:37:38 +0200
commit7cefedf0c4a2d943f96f440b433bf71a1a8261d7 (patch)
tree2ba91a7ca65f7ea1bec888dfc71bea3237c19039 /include/linux
parent57eb9d14b4f6dad9c340f88f767fc54609bcdba5 (diff)
gpiolib: remove trailing comma from sentinel in GPIO_LOOKUP_SINGLE
The GPIO_LOOKUP_SINGLE() macro defines a lookup table with a single entry followed by an empty sentinel entry. The sentinel entry has a trailing comma which is unnecessary. Remove it. Assisted-by: Antigravity:gemini-3.5-flash Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/alV0wIgZAY_InGYV@google.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gpio/machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/gpio/machine.h b/include/linux/gpio/machine.h
index 5eb88f5d0630..1a141056716f 100644
--- a/include/linux/gpio/machine.h
+++ b/include/linux/gpio/machine.h
@@ -54,7 +54,7 @@ static struct gpiod_lookup_table _name = { \
.dev_id = _dev_id, \
.table = { \
GPIO_LOOKUP(_key, _chip_hwnum, _con_id, _flags), \
- {}, \
+ { } \
}, \
}