From 362030bf0679c118233fbe69fb287d8742e598ee Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Wed, 1 Aug 2018 16:42:10 +0100 Subject: psci: Use bool in internal interfaces Change-Id: I77c9cd2d1d6d0122cc49917fa686014bee154589 Signed-off-by: Antonio Nino Diaz --- lib/psci/psci_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/psci/psci_main.c') diff --git a/lib/psci/psci_main.c b/lib/psci/psci_main.c index 6a35ff6f..fd822bcf 100644 --- a/lib/psci/psci_main.c +++ b/lib/psci/psci_main.c @@ -82,7 +82,7 @@ int psci_cpu_suspend(unsigned int power_state, } /* Fast path for CPU standby.*/ - if (is_cpu_standby_req(is_power_down_state, target_pwrlvl) != 0) { + if (is_cpu_standby_req(is_power_down_state, target_pwrlvl)) { if (psci_plat_pm_ops->cpu_standby == NULL) return PSCI_E_INVALID_PARAMS; -- cgit v1.2.3