aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorHan Xu <[email protected]>2025-04-28 10:06:47 +0000
committerMark Brown <[email protected]>2025-05-06 14:17:31 +0000
commit9f7cd1bcb6363368abc954ff4e727b579813c697 (patch)
tree39ef1e3055bbd593a2ad87de30435a7e62905a2b /drivers/fpga/tests/fpga-bridge-test.c
parentspi: spi-nxp-fspi: remove the unchecked return value for nxp_fspi_clk_disable... (diff)
downloadkernel-9f7cd1bcb6363368abc954ff4e727b579813c697.tar.gz
kernel-9f7cd1bcb6363368abc954ff4e727b579813c697.zip
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 <[email protected]> Signed-off-by: Haibo Chen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions