commit | 30b27c73c37f9f6c7297dbe2a6fdbaf7265fffa0 | [log] [tgz] |
---|---|---|
author | Ricardo Rivera-Matos <rriveram@opensource.cirrus.com> | Wed Apr 10 15:56:08 2024 +0000 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Apr 12 16:52:18 2024 -0400 |
tree | 6dcd78e4da209ad48c0f17beb4afea943bf6be08 | |
parent | 7afc5932f0e116088980230730553fd8a556d353 [diff] |
regulator: cp9314: Cleans sleep related preprocesor directives Removes conditional calling k_busy_wait() on single threaded systems and uses k_sleep for both single and multi threaded systems. Commit e375d82 ("kernel: Implement k_sleep for Single Thread") eliminated the need to call k_busy_wait() on single threaded systems in place of k_sleep. Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>