[PATCH v2 11/21] gpio: pl061: Use empty initializer for amba_id terminator

From: Uwe Kleine-König (The Capable Hub)

Date: Wed Jul 15 2026 - 12:57:39 EST


A device-id list terminator has to be completely zeroed. Most such
terminators (also for other device ids than amba_id) use an empty
initializer for that and let the compiler care for zeroing the entry.

While touching this entry, drop the trailing comma.

There are no changes to the compiled driver, only the source looks
nicer.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/gpio/gpio-pl061.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
index 919cf86fd590..0f4c64f43ac4 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -413,7 +413,7 @@ static const struct amba_id pl061_ids[] = {
.id = 0x00041061,
.mask = 0x000fffff,
},
- { 0, 0 },
+ { }
};
MODULE_DEVICE_TABLE(amba, pl061_ids);

--
2.55.0.11.g153666a7d9bb