pass: Clean-up code to remove unneded prefix (pass_res -> res) 37/138637/1
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 13 Jul 2017 05:20:00 +0000 (14:20 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 13 Jul 2017 05:20:00 +0000 (14:20 +0900)
commit6b4eb7e1fe1755a156856d1c5a8378dc95803af3
treeaa019c520349bc5639d2fc85172f56c11ced04f1
parent8fbf601a389d8908c0cec2da22f70fc529f0dc12
pass: Clean-up code to remove unneded prefix (pass_res -> res)

The pass core uses the 'pass_res' variable name to indicate the instance
of 'struct pass_resource'. 'pass_' prefix is not beneficial and not necessary.
This patch alters 'pass_res' to 'res' simply and use the 'res_type' name
insted of 'id' variable name in order to improve the understanding
what is meaning of variable.

Change-Id: Idf2a2a8ea1f48d1724d40dc50488097946113d57
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-gov.c
src/pass/pass-hal.c
src/pass/pass-hal.h
src/pass/pass-parser.c
src/pass/pass-pmqos.c
src/pass/pass.c