commit | 495672ab623f7a4301a6bb7b5765ee48a7a13884 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Mon Jul 05 10:35:15 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Aug 04 08:23:01 2021 -0400 |
tree | 6f313533a773d4b1d70d7067a9cc01c0dcb93aa4 | |
parent | d41dadc569e1201826ac977b8759da2a720be498 [diff] |
pm: cleanup pm control callback implementations - Return -ENOTSUP if the requested state is not supported - Remove redundant "noop style" functions. - Use switch everywhere to handle requested state (not necessary in all drivers, but better take off with consistency in place after current changes). Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>