power: remove SYS_ and sys_ prefixes

Remove SYS_ and sys_ from all PM related functions and defines.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-09-01 21:46:30 -04:00
commit e0f3833bf7
45 changed files with 270 additions and 270 deletions

View file

@ -211,7 +211,7 @@ static int i2c_cc13xx_cc26xx_transfer(const struct device *dev,
#if defined(CONFIG_PM) && \
defined(CONFIG_PM_SLEEP_STATES)
sys_pm_ctrl_disable_state(SYS_POWER_STATE_SLEEP_2);
pm_ctrl_disable_state(POWER_STATE_SLEEP_2);
#endif
for (int i = 0; i < num_msgs; i++) {
@ -236,7 +236,7 @@ static int i2c_cc13xx_cc26xx_transfer(const struct device *dev,
#if defined(CONFIG_PM) && \
defined(CONFIG_PM_SLEEP_STATES)
sys_pm_ctrl_enable_state(SYS_POWER_STATE_SLEEP_2);
pm_ctrl_enable_state(POWER_STATE_SLEEP_2);
#endif
k_sem_give(&get_dev_data(dev)->lock);