Skip to content

Commit 92b338e

Browse files
gmarullcarlescufi
authored andcommitted
pm: remove deprecated Kconfig options
SYS_POWER_MANAGEMENT and DEVICE_POWER_MANAGEMENT were deprecated in 2.5.0, remove them now. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent bcf78f2 commit 92b338e

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

doc/releases/release-notes-2.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ release:
10081008
* :github:`31928` - usb loopback not work on nrf52840
10091009
* :github:`31924` - IVSHMEM with ACRN not working
10101010
* :github:`31921` - west flash not working with pyocd
1011-
* :github:`31920` - BME280: Use of deprecated `CONFIG_DEVICE_POWER_MANAGEMENT`
1011+
* :github:`31920` - BME280: Use of deprecated ``CONFIG_DEVICE_POWER_MANAGEMENT``
10121012
* :github:`31911` - Bluetooth: Mesh: Network buffer overflow on too long proxy messages
10131013
* :github:`31907` - settings: Unhandled error in NVS backend
10141014
* :github:`31905` - Question : Friend & Low power node with nRF52840

subsys/pm/Kconfig

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44

55
menu "Power Management"
66

7-
config SYS_POWER_MANAGEMENT
8-
bool "System Power management"
9-
select PM
10-
help
11-
This option is deprecated. Please use CONFIG_PM instead.
12-
137
menuconfig PM
148
bool "System Power Management"
159
depends on SYS_CLOCK_EXISTS && !HAS_NO_SYS_PM
@@ -55,12 +49,6 @@ config PM_DEVICE
5549
like turning off device clocks and peripherals. The device drivers
5650
may also save and restore states in these hook functions.
5751

58-
config DEVICE_POWER_MANAGEMENT
59-
bool "Device Power Management"
60-
select PM_DEVICE
61-
help
62-
This option is deprecated, please use CONFIG_PM_DEVICE instead.
63-
6452
config PM_DEVICE_RUNTIME
6553
bool "Runtime Device Power Management"
6654
depends on PM_DEVICE

0 commit comments

Comments
 (0)