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

power: reset: restart-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>
Link: https://lore.kernel.org/r/20240212162831.67838-18-afd@ti.com


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