diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2026-05-05 16:25:07 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-08 19:09:13 -0700 |
| commit | adb50fc9960bd2b71503ccc88d3473df2d1f77ff (patch) | |
| tree | 6a66bd7d2e4aa777bae2af420cb8b214dfdaae73 /rust/kernel/alloc/kvec | |
| parent | a774b19c117d76552054cf3d771220bc2d896dd0 (diff) | |
net: dsa: microchip: hook up ksz_switch_alloc() to chip-specific dsa_switch_ops
Now that each switch driver has its own dsa_switch_ops (currently a copy
of ksz_switch_ops), we no longer need ksz_switch_ops and can remove it.
Get to the driver-specific dsa_switch_ops through the ksz_chip_data
structure.
Reorder the alloc()/get_match_data() calls such as to have that
pointer available.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20260505-clean-ksz-driver-v1-7-05d70fa42461@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions
