Skip to content
Snippets Groups Projects
Commit 83fe95a8 authored by Dmitry Osipenko's avatar Dmitry Osipenko
Browse files

riscv: Use register_platform_power_off()


Utilize new register_platform_power_off() API that allows to register
multiple power-off handlers and deprecates global pm_power_off callback.

Signed-off-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
parent 8a7a83c8
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ static int __sbi_rfence_v01(int fid, const struct cpumask *cpu_mask,
static void sbi_set_power_off(void)
{
pm_power_off = sbi_shutdown;
register_platform_power_off(sbi_shutdown);
}
#else
static void __sbi_set_timer_v01(uint64_t stime_value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment