power: Remove leftover support for ondemand governor
Change-Id: Id4c2aa5efa7101535a7311e34529e0b90c7491f1
diff --git a/performance.h b/performance.h
index b7bf34b..daf8a01 100644
--- a/performance.h
+++ b/performance.h
@@ -124,16 +124,6 @@
MS_20 = 0xBFD,
};
-enum ONDEMAND_IO_BUSY_LVL {
- IO_BUSY_OFF = 0xC00,
- IO_BUSY_ON = 0xC01,
-};
-
-enum ONDEMAND_SAMPLING_DOWN_FACTOR_LVL {
- SAMPLING_DOWN_FACTOR_1 = 0xD01,
- SAMPLING_DOWN_FACTOR_4 = 0xD04,
-};
-
enum INTERACTIVE_TIMER_RATE_LVL {
TR_MS_500 = 0xECD,
TR_MS_100 = 0xEF5,
diff --git a/power-common.h b/power-common.h
index aa6e681..e2179d0 100644
--- a/power-common.h
+++ b/power-common.h
@@ -36,7 +36,6 @@
#define NODE_MAX (64)
#define SCALING_GOVERNOR_PATH "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
-#define ONDEMAND_GOVERNOR "ondemand"
#define INTERACTIVE_GOVERNOR "interactive"
#define SCHEDUTIL_GOVERNOR "schedutil"
diff --git a/utils.h b/utils.h
index 8a36c70..ab804dd 100644
--- a/utils.h
+++ b/utils.h
@@ -39,10 +39,6 @@
int get_scaling_governor_check_cores(char governor[], int size,int core_num);
int is_interactive_governor(char*);
-void vote_ondemand_io_busy_off();
-void unvote_ondemand_io_busy_off();
-void vote_ondemand_sdf_low();
-void unvote_ondemand_sdf_low();
void perform_hint_action(int hint_id, int resource_values[],
int num_resources);
void undo_hint_action(int hint_id);