diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-09-19 12:39:45 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-22 16:38:59 -0700 |
| commit | 530ae8ec0e5e08b123ca667aedaf7fdbb1a8200f (patch) | |
| tree | 23d791c75a7d699992d2bef531b945237e2eb1bd /rust/helpers/xarray.c | |
| parent | 312e6a58f764627037032160ed8c671885f31360 (diff) | |
net: phy: ax88796b: Replace hard-coded values with PHY_ID_MATCH_MODEL()
Use the PHY_ID_MATCH_MODEL() macro instead of hardcoding the values in
asix_driver[] and asix_tbl[].
In asix_tbl[], the macro also uses designated initializers instead of
positional initializers, which allows the struct fields to be reordered.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250919103944.854845-2-thorsten.blum@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
