Skip to content
Commit 9b27dde6 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

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: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 78454e5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment