pass: hal: Rename 'pass_get_policy' to 'pass_get_tmu_policy' 33/137633/3
authorWook Song <wook16.song@samsung.com>
Fri, 7 Jul 2017 02:14:39 +0000 (11:14 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 7 Jul 2017 08:00:02 +0000 (08:00 +0000)
This patch renames a HAL interfaces named 'pass_get_policy' to
'pass_get_tmu_policy' because of the ambiguous meaning of its original
function name.

Change-Id: I533191deb87933e8c0d779883fb41f90ceb3d3e8
Signed-off-by: Wook Song <wook16.song@samsung.com>
src/pass/pass-hal.c
src/pass/pass-hal.h

index c10032c9b9c7151b49891c0f3852afc15e3a6cdd..87a6fdced449172ed34de36730d7a6d3dd71cabe 100644 (file)
@@ -446,7 +446,7 @@ int pass_get_temp(struct pass_resource *res)
        return tmu->get_temp(res_thermal_name);
 }
 
-int pass_get_policy(struct pass_resource *res, char *policy)
+int pass_get_tmu_policy(struct pass_resource *res, char *policy)
 {
        struct pass_resource_tmu_ops *tmu;
        char *res_thermal_name;
index a8f7b312d65b0541aee342f20bb21f5008aea7f5..746bc8163faf039daf445309d5af0c85bdbf40bb 100644 (file)
@@ -53,7 +53,7 @@ int pass_set_up_threshold(struct pass_resource *res, int up_threshold);
 
 /* Get the temperature and policy of thermal unit on specific h/w. */
 int pass_get_temp(struct pass_resource *res);
-int pass_get_policy(struct pass_resource *res, char *policy);
+int pass_get_tmu_policy(struct pass_resource *res, char *policy);
 
 /***
  * Functions for CPU H/W resources