arm64: Use do_kernel_power_off()
authorDmitry Osipenko <digetx@gmail.com>
Sun, 30 Jan 2022 23:37:05 +0000 (02:37 +0300)
committerHector Martin <marcan@marcan.st>
Tue, 8 Feb 2022 05:49:05 +0000 (14:49 +0900)
commit446d5c50e399d7b18952b1fc84b456a724176a82
tree3d2de911bd29aa0ddcb482f508a13b689355d9cc
parente89f213d24d93dc9d5612d5c15dca3ba823a334f
arm64: Use do_kernel_power_off()

Kernel now supports chained power-off handlers. Use do_kernel_power_off()
that invokes chained power-off handlers. It also invokes legacy
pm_power_off() for now, which will be removed once all drivers will
be converted to the new power-off API.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
arch/arm64/kernel/process.c