power: Remove power management conditionals from code
Remove conditionals (PM_DEEP_SLEEP_STATES and PM_SLEEP_STATES) from power management code. Now these features are always available when power management is enabled. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
579f7049c7
commit
d21cfd5f36
15 changed files with 18 additions and 68 deletions
|
@ -344,7 +344,7 @@ static int uart_npcx_init(const struct device *dev)
|
|||
config->uconf.irq_config_func(dev);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PM_DEEP_SLEEP_STATES)
|
||||
#if defined(CONFIG_PM)
|
||||
/*
|
||||
* Configure the UART wake-up event triggered from a falling edge
|
||||
* on CR_SIN pin. No need for callback function.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue