pass: Rename governor module to pass-gov and add governor helper functions
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 2 Feb 2017 01:33:56 +0000 (10:33 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 2 Feb 2017 23:43:19 +0000 (08:43 +0900)
commitddaec7d76946f8b57710105f1a36098dd2adaa73
tree4047960a9f75d62c7676ec8c45c6c47d98ba0097
parent94a75570729a02ec1f008947a928e34af3d52ba4
pass: Rename governor module to pass-gov and add governor helper functions

This patch renames the governor module's filename from pass-core.c
to pass-gov.c beceause pass-core.c includes the governor functions.

And it adds new following governor functions. On previous, other module
,such as pass.c, access the field of struct pass_governor direclty without
any wrapper function.
- int pass_governor_init(struct pass_policy *);
- int pass_governor_exit(struct pass_policy *);
- int pass_governor_update(struct pass_policy *, enum pass_gov_state);

Change-Id: I772edc602325409faf0b747cc741be5d83151c23
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
CMakeLists.txt
src/pass/pass-core.h [deleted file]
src/pass/pass-gov.c [moved from src/pass/pass-core.c with 89% similarity]
src/pass/pass-gov.h
src/pass/pass-pmqos.c
src/pass/pass.c