diff options
| author | Johan Hovold <johan@kernel.org> | 2025-10-17 07:50:39 +0200 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2025-11-26 11:24:37 +0100 |
| commit | 6b38a8b31e2c5c2c3fd5f9848850788c190f216d (patch) | |
| tree | 996e6c54ce0b1e4d84d751686f317fa417226719 /scripts/lib/abi/helpers.py | |
| parent | 2ba8e2aae1324704565a7d4d66f199d056c9e3c6 (diff) | |
clocksource/drivers/stm: Fix double deregistration on probe failure
The purpose of the devm_add_action_or_reset() helper is to call the
action function in case adding an action ever fails so drop the clock
source deregistration from the error path to avoid deregistering twice.
Fixes: cec32ac75827 ("clocksource/drivers/nxp-timer: Add the System Timer Module for the s32gx platforms")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://patch.msgid.link/20251017055039.7307-1-johan@kernel.org
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions
