Skip to content
Commit f22e8350 authored by Andrew Davis's avatar Andrew Davis Committed by Sebastian Reichel
Browse files

power: reset: atc260x-poweroff: Use devm_register_sys_off_handler(RESTART)



Use device life-cycle managed register function to simplify probe and
exit paths.

Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Reviewed-by: default avatarCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20240212162831.67838-2-afd@ti.com


Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent aa08a0d1
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