plat/arm: css: Convert CSS_SYSTEM_PWR_STATE from macro to inline function
authorNariman Poushin <nariman.poushin@linaro.org>
Tue, 1 May 2018 08:28:40 +0000 (09:28 +0100)
committerNariman Poushin <nariman.poushin@linaro.org>
Sat, 23 Jun 2018 16:22:08 +0000 (17:22 +0100)
commit9b4c611c4b05fdf03722d2de488ea49beb10a8b7
treee525e6796bbf2c73574c2f13e4939a40993d1f8f
parentb70dcbc17222687859ac1cf58d4d7c5cb5c379fe
plat/arm: css: Convert CSS_SYSTEM_PWR_STATE from macro to inline function

This is to fix a number of Coverity Scan DEADCODE defects, CID numbers
listed below, as reported from
https://scan.coverity.com/projects/arm-software-arm-trusted-firmware

CID 267023
CID 267022
CID 267020

Change-Id: I2963a799b210149e84ccab5c5b9082267ddfe337
Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
include/plat/arm/css/common/css_pm.h
plat/arm/css/common/css_pm.c
plat/arm/css/drivers/scp/css_pm_scmi.c
plat/arm/css/drivers/scp/css_pm_scpi.c