mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
ethernet: 3c509: 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> Link: https://patch.msgid.link/a0cd057e6a24b9d355b5e4bdfcdb812cdd1e4652.1781082923.git.u.kleine-koenig@baylibre.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
32229484e3
commit
43746895a5
|
|
@ -438,7 +438,7 @@ static const struct pnp_device_id el3_pnp_ids[] = {
|
|||
{ .id = "TCM5098" }, /* 3Com Etherlink III (TPC) */
|
||||
{ .id = "PNP80f7" }, /* 3Com Etherlink III compatible */
|
||||
{ .id = "PNP80f8" }, /* 3Com Etherlink III compatible */
|
||||
{ .id = "" }
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pnp, el3_pnp_ids);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user