commit | 9917de4a1b8f50e70d1e45c0983f1a97a36ea443 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Thu Aug 26 16:54:46 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Aug 27 09:06:51 2021 -0400 |
tree | 4a7c6b59b46eb8f98c82a4d93f82f06d89cddf0e | |
parent | c5e077c48ffc72ee47a88dc672a7f50656ebea6d [diff] |
pm: fully initialize pm_device on Z_DEVICE_STATE_DEFINE The initialization of the struct pm_device pm field found in the device state can be statically initialized without the need of doing it at runtime. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>