commit | 920f30cc0e0a34f383de51f16447f628984422c8 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Fri Jul 02 13:01:05 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Aug 04 08:23:01 2021 -0400 |
tree | 6fc232390c7274cf2ca8662a257f0cfa92cb440c | |
parent | bc2990f82ded5588b3e9503f5b39d6005a4cedfa [diff] |
pm: simplify state change check logic The device PM control function will only be called if the requested state is different from the current one. A significant amount of drivers were checking for state changes, now unnecessary. This patch removes all this redundant logic. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>