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: Andrew Davis <afd@ti.com> Link: https://lore.kernel.org/r/20231117161006.87734-5-afd@ti.comSigned-off-by: Mark Brown <broonie@kernel.org>
Showing
Please register or sign in to comment