[PATCH v3 11/22] gpio: pl061: Use empty initializer for amba_id terminator

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

Date: Mon Oct 26 2026 - 12:30:45 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 fcd44e34f65e..f180e5f4493c 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -412,7 +412,7 @@ static const struct amba_id pl061_ids[] = {
.id = 0x00041061,
.mask = 0x000fffff,
},
- { 0, 0 },
+ { }
};
MODULE_DEVICE_TABLE(amba, pl061_ids);

--
2.56.0.rc1