diff options
| author | Daniel Machon <daniel.machon@microchip.com> | 2026-02-27 15:56:43 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-02 18:46:21 -0800 |
| commit | 274182ff34fdd85f712c2b6e624e1c85c6696685 (patch) | |
| tree | 4416ed5b583268805b39c7578f3794a7014d9c9e /include/linux/processor.h | |
| parent | e180067a03cad7043d951b0040f0169a267f0293 (diff) | |
net: sparx5: move calendar initialization to probe
Move the calendar initialization from sparx5_start() to probe() by
creating a new sparx5_calendar_init() wrapper function that calls both
sparx5_config_auto_calendar() and sparx5_config_dsm_calendar().
Calendar initialization does not require cleanup.
Also, make the individual calendar config functions static since they
are now only called from within sparx5_calendar.c.
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20260227-sparx5-init-deinit-v2-5-10ba54ccf005@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions
