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

power: reset: mt6323-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 avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240212162831.67838-12-afd@ti.com


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