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

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



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-3-afd@ti.com


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