commit | c2cf1ad203af78a0ed102d66da2e4116c347ec69 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Fri Jun 04 17:41:39 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Aug 04 08:23:01 2021 -0400 |
tree | 2ceea6b3b5325c5a1d340d7ad16418fcd4c4ddaf | |
parent | 1c0ed946018e4f1ee4b766d5db811d097f44f2ba [diff] |
pm: device: remove usage of local states The device PM subsystem already holds the device state, so there is no need to keep duplicates inside the device. The pm_device_state_get has been refactored to just return the device state. Note that this is still not safe, but the same applied to the previous implementation. This problem will be addressed later. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>