commit | b5d6aa29e82781fdc9bda310bfd57d88728ff867 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Mon Nov 22 19:59:37 2021 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Nov 26 10:42:55 2021 +0100 |
tree | 1d88538b6af0d818c7bcd2a0edb9eb7b992c72db | |
parent | 9886bdc0c87de5b4d56454dbdef6edec2ec1e80e [diff] |
pm: device: move Z_DEVICE_PM_DEFINE_PM_SLOT to pm The macro has been moved to the pm/device.h header, being now called by the Z_PM_DEVICE_DEFINE macro. This means that a slot will only be created if the device uses PM, thus reducing memory usage. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>