summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-06-10 16:36:28 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2026-07-16 22:40:01 -0400
commit85666bde770cbbfa59f25e2d704776e56466ff52 (patch)
tree0f21af1aa93616ff8d4dd56a2f6c8cd48fe34169
parent18ae351fec146e77a454449a47f3268db591ff7f (diff)
scsi: aha1542: Improve style of pnp_device_id array terminator
To match how device-id array terminators look like for other device types drop '.id = ""' from it and let the compiler care for zeroing the entry. There are no changes in the compiled drivers, only the source looks nicer. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/096aaa981c0bf1aaa8be75e675f17b1c9ca0086c.1781102092.git.u.kleine-koenig@baylibre.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/aha1542.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index fd766282d4a4..93dab19c1cb9 100644
--- a/drivers/scsi/aha1542.c
+++ b/drivers/scsi/aha1542.c
@@ -1083,7 +1083,7 @@ static int isa_registered;
#ifdef CONFIG_PNP
static const struct pnp_device_id aha1542_pnp_ids[] = {
{ .id = "ADP1542" },
- { .id = "" }
+ { }
};
MODULE_DEVICE_TABLE(pnp, aha1542_pnp_ids);