diff options
| author | Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> | 2026-06-10 11:46:53 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 14:59:06 -0700 |
| commit | 43746895a5a9d6c910a907deb8e562d4f8b8bd80 (patch) | |
| tree | af313edceb29aa6a3cbf375f8f0d2defa7e6d072 /drivers/net/ethernet/3com | |
| parent | 32229484e381b2c9a0c0f50cf16329ac7ab9478f (diff) | |
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>
Diffstat (limited to 'drivers/net/ethernet/3com')
| -rw-r--r-- | drivers/net/ethernet/3com/3c509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.c index f23be7425daf..3438168befa6 100644 --- a/drivers/net/ethernet/3com/3c509.c +++ b/drivers/net/ethernet/3com/3c509.c @@ -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); |
