mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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:
committed by
Martin K. Petersen
parent
18ae351fec
commit
85666bde77
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user