pass: rescon: Move initialization code to guarantee the independnecy 31/169031/2
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 2 Feb 2018 00:54:02 +0000 (09:54 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 2 Feb 2018 04:12:46 +0000 (13:12 +0900)
commit20b3bb43734d09e040a64d555b168bc29dfcacf6
tree717de471a4b15b49c6b699d0aedab6f6932bdd85
parent3c6d205863fa675fb4e9e61a998cdbf1fdaec3c0
pass: rescon: Move initialization code to guarantee the independnecy

Each module have to initialize/control their own variables
included in module structure. Move initialization code of ResCon
(Resource Controller) from pass.c/pass-gov.c to pass-rescon.c
in orer to guarantee the independnecy among modules.

Change-Id: I4568e2bfe3c6b6ba37b0161dce802bbcef4d6ba6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-gov.c
src/pass/pass-rescon.c
src/pass/pass-rescon.h
src/pass/pass.c
src/pass/pass.h