examples/power: remove policy dependency to MAC list
authorLukasz Krakowiak <lukaszx.krakowiak@intel.com>
Tue, 9 Apr 2019 09:54:01 +0000 (11:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Apr 2019 20:44:45 +0000 (22:44 +0200)
commit236e164b22c8205516f054b2a478aa63c736cb9c
tree94628caf9e4714e5409bef8d68352df054142c6f
parentb2854d5317e834afe22e71412befe95b63aded4b
examples/power: remove policy dependency to MAC list

Removed dependency to mac_list from policies:
* BRANCH_RATIO,
* WORKLOAD,
* TIME
in function update_policy.

Fixes: 1b897991473f ("power: update error handling")

Signed-off-by: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
Tested-by: Yufeng Mo <yufengx.mo@intel.com>
examples/vm_power_manager/channel_monitor.c