Skip to content

Commit d8a1513

Browse files
MarekPietakapi-no
authored andcommitted
caf: power_manager: Imply Device Power Management
The CONFIG_PM_DEVICE is not required by CAF Power Manager. Imply the option instead of selecting it. Change also removes including header that is no longer needed. Jira: NCSDK-32519 Signed-off-by: Marek Pieta <[email protected]>
1 parent 1d69328 commit d8a1513

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

subsys/caf/modules/Kconfig.power_manager

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ menu "Power manager"
88

99
config CAF_POWER_MANAGER
1010
bool "Enable power management"
11-
select PM_DEVICE
1211
select CAF_PM_EVENTS
1312
select CAF_POWER_MANAGER_EVENTS
1413
imply POWEROFF if !SOC_SERIES_NRF54HX
1514
imply PM if SOC_SERIES_NRF54HX
15+
imply PM_DEVICE
1616
help
1717
Enable power management, which will put the device to low-power mode
1818
if it is idle.

subsys/caf/modules/power_manager.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <zephyr/kernel.h>
77
#include <zephyr/types.h>
88

9-
#include <zephyr/device.h>
109
#if CONFIG_CAF_POWER_MANAGER_CLEAR_RESET_REASON
1110
#include <hal/nrf_power.h>
1211
#include <helpers/nrfx_reset_reason.h>

0 commit comments

Comments
 (0)