ARM: psci: fix erroneous call of ->system_reset on system_off
Both psci_system_reset and psci_system_off call psci_ops->system_reset,
which seems like a copy-paste error as there is an unused ->system_off
as well.

Adjust psci_system_off to use ->system_off instead. This won't matter
for the existing i.MX7 PSCI implementation because it defines neither
callback, but it will for the upcoming STM32MP PSCI support.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2304815 commit 6d25cbb988bc431d0fe6aa12f8f6883b89d27958
@Ahmad Fatoum Ahmad Fatoum authored on 17 Jun 2019
Sascha Hauer committed on 4 Jul 2019
Showing 1 changed file
View
arch/arm/cpu/psci.c