power: standarize PM Kconfigs and cleanup

- Remove SYS_ prefix
- shorten POWER_MANAGEMENT to just PM
- DEVICE_POWER_MANAGEMENT -> PM_DEVICE

and use PM_ as the prefix for all PM related Kconfigs

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-09-01 18:31:40 -04:00
commit dd931f93a2
150 changed files with 551 additions and 526 deletions

View file

@ -344,7 +344,7 @@ static int uart_npcx_init(const struct device *dev)
config->uconf.irq_config_func(dev);
#endif
#if defined(CONFIG_SYS_POWER_DEEP_SLEEP_STATES)
#if defined(CONFIG_PM_DEEP_SLEEP_STATES)
/*
* Configure the UART wake-up event triggered from a falling edge
* on CR_SIN pin. No need for callback function.