Commit c7345869 authored by Andrew Davis's avatar Andrew Davis Committed by Gabriel Somlo
Browse files

drivers/soc/litex: 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>
Reviewed-by: default avatarGabriel Somlo <gsomlo@gmail.com>
Link: https://lore.kernel.org/all/20240123164443.394642-3-afd@ti.com


Signed-off-by: default avatarGabriel Somlo <gsomlo@gmail.com>
parent 40384c84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment