diff options
| author | Rashed Abdel-Tawab <rashed@linux.com> | 2017-12-31 01:21:40 +0200 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2019-10-23 01:12:56 +0300 |
| commit | 42cc4674d7333a37d463875f90a771d162fd7e7a (patch) | |
| tree | b680fd882484a2f5c938fb90bad9649fd67dcb43 /power-845.c | |
| parent | a14bb2764dbf8f9d8848d9afb845a2d439cdcbf8 (diff) | |
| download | vendor_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-845.c')
| -rw-r--r-- | power-845.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/power-845.c b/power-845.c index 6532c9e..029bd18 100644 --- a/power-845.c +++ b/power-845.c @@ -202,7 +202,7 @@ static int process_video_encode_hint(void *metadata) /* Declare function before use */ void interaction(int duration, int num_args, int opt_list[]); -int power_hint_override(struct power_module *module, power_hint_t hint, void *data) +int power_hint_override(power_hint_t hint, void *data) { int ret_val = HINT_NONE; switch(hint) { @@ -229,7 +229,7 @@ int power_hint_override(struct power_module *module, power_hint_t hint, void *da return ret_val; } -int set_interactive_override(struct power_module *module, int on) +int set_interactive_override(int on) { static const char *display_on = "1"; static const char *display_off = "0"; |
