power_hikey: Rename some functions to clearly split interactive logic out am: c579371efd am: 8e20f6dbf2
am: f99100b473

Change-Id: I97556ffd224a5bc1b15c7fab1780298bb791c070
diff --git a/power/power_hikey.c b/power/power_hikey.c
index 059f402..a06a0d3 100644
--- a/power/power_hikey.c
+++ b/power/power_hikey.c
@@ -76,7 +76,8 @@
     close(fd);
 }
 
-static void power_init(struct power_module __unused *module)
+/*[interactive cpufreq gov funcs]*********************************************/
+static void interactive_power_init(struct power_module __unused *module)
 {
     int32_t is_svelte = property_get_int32(SVELTE_PROP, 0);
 
@@ -151,6 +152,13 @@
     return 0;
 }
 
+/*[generic functions]*********************************************************/
+
+static void hikey_power_init(struct power_module __unused *module)
+{
+    interactive_power_init(module);
+}
+
 static void hikey_power_hint(struct power_module *module, power_hint_t hint,
                                 void *data)
 {
@@ -208,7 +216,7 @@
             methods: &power_module_methods,
         },
 
-        init: power_init,
+        init: hikey_power_init,
         setInteractive: power_set_interactive,
         powerHint: hikey_power_hint,
         setFeature: set_feature,