diff options
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2018-08-03 10:53:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-03 10:53:12 +0100 |
commit | f943ce74aee9a52fac1febfce8acaa28696e532d (patch) | |
tree | 44deac3e5a905456c5224c5ff7e274390cc4fea6 /lib/psci/psci_main.c | |
parent | 0454f64b72e3b6a2d3c2a47dead322eb528e709f (diff) | |
parent | 362030bf0679c118233fbe69fb287d8742e598ee (diff) |
Merge pull request #1509 from antonio-nino-diaz-arm/an/bool
xlat: psci: Use bool instead of int
Diffstat (limited to 'lib/psci/psci_main.c')
-rw-r--r-- | lib/psci/psci_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |