diff options
author | Ananth Raghavan Subramanian <sananth@codeaurora.org> | 2018-09-08 19:47:41 -0700 |
---|---|---|
committer | Ananth Raghavan Subramanian <sananth@codeaurora.org> | 2019-01-17 16:15:04 -0800 |
commit | d39ec577a6b154ddc1643728e54a093f3e667b80 (patch) | |
tree | 22e3b736cd681c40bdf2bd7968917b5cbf786413 /power-msmnile.c | |
parent | 561cffcbfa66192e839e040d2da3bff2ecf8dcac (diff) | |
download | vendor_qcom_opensource_power-d39ec577a6b154ddc1643728e54a093f3e667b80.tar.gz vendor_qcom_opensource_power-d39ec577a6b154ddc1643728e54a093f3e667b80.tar.bz2 vendor_qcom_opensource_power-d39ec577a6b154ddc1643728e54a093f3e667b80.zip |
power: Introducing PowerHAL binderized service
Moving from the default implementation to a binderized service with no
wrapping.
Now using 1.2 implementation of the IPower interface.
Change-Id: Ibefd916544f51545e6889684a051b2ecc5867fe2
Diffstat (limited to 'power-msmnile.c')
-rw-r--r-- | power-msmnile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/power-msmnile.c b/power-msmnile.c index 27a8d25..7000079 100644 --- a/power-msmnile.c +++ b/power-msmnile.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -48,7 +48,7 @@ static int display_fd; #define SYS_DISPLAY_PWR "/sys/kernel/hbtp/display_pwr" -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"; @@ -94,7 +94,7 @@ int set_interactive_override(struct power_module *module, int on) 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) { |