Skip to content
Commit da48b67c authored by Huacai Chen's avatar Huacai Chen
Browse files

LoongArch: Cleanup reset routines with new API



Cleanup reset routines by using new do_kernel_power_off() instead of old
pm_power_off(), and then simplify the whole file (reset.c) organization
by inlining some functions. This cleanup also fix a poweroff error if EFI
runtime is disabled.

Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 84e76206
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment