mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
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>
This commit is contained in:
parent
57eb9d14b4
commit
7cefedf0c4
|
|
@ -54,7 +54,7 @@ static struct gpiod_lookup_table _name = { \
|
|||
.dev_id = _dev_id, \
|
||||
.table = { \
|
||||
GPIO_LOOKUP(_key, _chip_hwnum, _con_id, _flags), \
|
||||
{}, \
|
||||
{ } \
|
||||
}, \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user