diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2015-03-05 10:54:34 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2015-03-05 12:02:07 +0000 |
commit | ba592e280229c8d86e2ad688d0eba11b70172f5f (patch) | |
tree | c088f032c61d12d7cd0ee35c1fad18efddba8fb7 /services | |
parent | 95d5353c332d2c9e425a1efc6c28555456d843e9 (diff) |
Fix violations to the coding style
All coding style violations have been fixed in a previous patch and
since then, each individual patch has been checked in this regard.
However, the latest version of the checkpatch.pl script from the Linux
kernel is more advanced and it is able to flag new errors in the
Trusted Firmware codebase. This patch fixes them.
Change-Id: I1f332f2440984be85d36b231bb83260368987077
Diffstat (limited to 'services')
-rw-r--r-- | services/std_svc/psci/psci_afflvl_suspend.c | 4 | ||||
-rw-r--r-- | services/std_svc/psci/psci_common.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/services/std_svc/psci/psci_afflvl_suspend.c b/services/std_svc/psci/psci_afflvl_suspend.c index dad0cefd..76e8c908 100644 --- a/services/std_svc/psci/psci_afflvl_suspend.c +++ b/services/std_svc/psci/psci_afflvl_suspend.c @@ -58,7 +58,7 @@ void psci_set_suspend_power_state(unsigned int power_state) * powered down during a cpu_suspend call. Returns PSCI_INVALID_DATA if the * power state is invalid. ******************************************************************************/ -int psci_get_suspend_afflvl() +int psci_get_suspend_afflvl(void) { unsigned int power_state; @@ -73,7 +73,7 @@ int psci_get_suspend_afflvl() * parameter saved in the per-cpu data array. Returns PSCI_INVALID_DATA if the * power state saved is invalid. ******************************************************************************/ -int psci_get_suspend_stateid() +int psci_get_suspend_stateid(void) { unsigned int power_state; diff --git a/services/std_svc/psci/psci_common.c b/services/std_svc/psci/psci_common.c index 7ab607db..237cf1e9 100644 --- a/services/std_svc/psci/psci_common.c +++ b/services/std_svc/psci/psci_common.c @@ -133,7 +133,7 @@ uint32_t psci_get_max_phys_off_afflvl(void) * been physically powered up. It is expected to be called immediately after * reset from assembler code. ******************************************************************************/ -int get_power_on_target_afflvl() +int get_power_on_target_afflvl(void) { int afflvl; |