Skip to content
Commit 6f141fe8 authored by Anas Nashif's avatar Anas Nashif
Browse files

pm: pm_device_runtime_enable/disable should return 0 when PM is disabled



When PM is disabled, it does not make sense to return ENOSYS,
pm_device_runtime_enable/disable should be treated as noop functions.
When PM is disabled, those functions are not supposed to be implemented.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 5bcd47f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment