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>
This commit is contained in:
Uwe Kleine-König (The Capable Hub)
2026-07-16 22:40:01 -04:00
committed by Martin K. Petersen
parent 18ae351fec
commit 85666bde77
+1 -1
View File
@@ -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);