pm: Rename pm_power_state_set

Aligning with the rest of PM API, replace pm_power_state_set with
pm_state_set.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2022-02-04 17:19:52 -08:00 committed by Anas Nashif
commit 89fee61b43
25 changed files with 32 additions and 32 deletions

View file

@ -20,7 +20,7 @@
LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL);
/* Invoke Low Power/System Off specific Tasks */
__weak void pm_power_state_set(enum pm_state state, uint8_t substate_id)
__weak void pm_state_set(enum pm_state state, uint8_t substate_id)
{
if (info->state != PM_STATE_SUSPEND_TO_IDLE) {
LOG_DBG("Unsupported power state %u", state);