diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-09-19 13:39:45 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-23 02:38:59 +0300 |
| commit | 530ae8ec0e5e08b123ca667aedaf7fdbb1a8200f (patch) | |
| tree | 23d791c75a7d699992d2bef531b945237e2eb1bd /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 312e6a58f764627037032160ed8c671885f31360 (diff) | |
| download | linux-530ae8ec0e5e08b123ca667aedaf7fdbb1a8200f.tar.xz | |
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
