diff options
author | Han Xu <han.xu@nxp.com> | 2025-04-28 18:06:47 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-06 23:17:31 +0900 |
commit | 9f7cd1bcb6363368abc954ff4e727b579813c697 (patch) | |
tree | 39ef1e3055bbd593a2ad87de30435a7e62905a2b /scripts/lib/kdoc/kdoc_output.py | |
parent | e0558eb74c6e082b60e03981eb7cbf0fc3780ef4 (diff) |
spi: nxp-fspi: use devm instead of remove for driver detach
fspi driver use devm APIs to manage clk/irq/resources and register the spi
controller, but the legacy remove function will be called first during
device detach and trigger kernel panic. Drop the remove function and use
devm_add_action_or_reset() for driver cleanup to ensure the release
sequence.
Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://patch.msgid.link/20250428-flexspipatch-v3-5-61d5e8f591bc@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions