diff options
| author | Daniel Machon <daniel.machon@microchip.com> | 2026-02-27 15:56:42 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-02 18:46:21 -0800 |
| commit | e180067a03cad7043d951b0040f0169a267f0293 (patch) | |
| tree | 25e3d6dc782d53c37708e6e6f8e98195961a9054 /include/linux/workqueue.h | |
| parent | 13cb1b68842b010275974454d4c5dffaf427197f (diff) | |
net: sparx5: move stats initialization and add deinit function
The sparx5_stats_init() function starts a worker thread which needs to
be cleaned up. Move the initialization code to probe() and add a
deinit() function for proper teardown.
Also, rename sparx_stats_init() to sparx5_stats_init() to match the
driver naming convention.
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20260227-sparx5-init-deinit-v2-4-10ba54ccf005@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
