summaryrefslogtreecommitdiffstats
path: root/power-660.c
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2017-12-31 01:21:40 +0200
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:12:56 +0300
commit42cc4674d7333a37d463875f90a771d162fd7e7a (patch)
treeb680fd882484a2f5c938fb90bad9649fd67dcb43 /power-660.c
parenta14bb2764dbf8f9d8848d9afb845a2d439cdcbf8 (diff)
downloadvendor_qcom_opensource_power-42cc4674d7333a37d463875f90a771d162fd7e7a.tar.gz
vendor_qcom_opensource_power-42cc4674d7333a37d463875f90a771d162fd7e7a.tar.bz2
vendor_qcom_opensource_power-42cc4674d7333a37d463875f90a771d162fd7e7a.zip
power: Remove unused arg from power_hint_override/set_interactive_override
Change-Id: If45b59915022b563d4c5c9bf454b02b431a97833
Diffstat (limited to 'power-660.c')
-rw-r--r--power-660.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/power-660.c b/power-660.c
index 5b55568..29e8ec3 100644
--- a/power-660.c
+++ b/power-660.c
@@ -84,8 +84,7 @@ static bool is_target_SDM630()
return is_target_SDM630;
}
-int power_hint_override(struct power_module *module, power_hint_t hint,
- void *data)
+int power_hint_override(power_hint_t hint, void *data)
{
switch(hint) {
@@ -100,7 +99,7 @@ int power_hint_override(struct power_module *module, power_hint_t hint,
return HINT_NONE;
}
-int set_interactive_override(struct power_module *module, int on)
+int set_interactive_override(int on)
{
char governor[80];
char tmp_str[NODE_MAX];