Skip to content
Unverified Commit 8e6a4396 authored by Andrew Davis's avatar Andrew Davis Committed by Mark Brown
Browse files

spi: sprd: adi: Use devm_register_restart_handler()



Use device life-cycle managed register function to simplify probe error
path and eliminate need for explicit remove function.

Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20231117161006.87734-5-afd@ti.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4c3ff31a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment