commit | 9b27dde6021e7a84546b8b27bb021bee9009a3a4 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Sat Feb 05 22:51:41 2022 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Feb 23 07:33:46 2022 -0500 |
tree | a8deb4d5cb2abd85e607dffed970bd7efe8f2f5f | |
parent | 78454e5e93336503d4c59b4c032affa6c574de4b [diff] |
pm: Replace macros with inline function Macros are not type safe and can be expanded regardless of whether they are syntactically correct or not. Also macros can result in side effects when they expand. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>