From fb7006f016d089511c8dd54ceed499c387acba3b Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Sun, 31 Dec 2017 02:25:55 +0100 Subject: [PATCH] klte-common: power: Update power hal extension for new qti hal * And fix the LOG_TAG while we're at it Change-Id: I81678e10385fef4c6881c17813f8ffa89caa2629 --- power/power_ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/power/power_ext.c b/power/power_ext.c index 60526ea..0506b1c 100644 --- a/power/power_ext.c +++ b/power/power_ext.c @@ -18,7 +18,7 @@ #include #include -#define LOG_TAG "PowerHAL_H_Ext" +#define LOG_TAG "PowerHAL_K_Ext" #include /* touchkeys */ @@ -47,7 +47,7 @@ static void sysfs_write(char *path, char *s) { close(fd); } -void cm_power_set_interactive_ext(int on) { +void power_set_interactive_ext(int on) { ALOGD("%s: %s input devices", __func__, on ? "enabling" : "disabling"); sysfs_write(TK_POWER, on ? "1" : "0"); sysfs_write(TS_POWER, on ? "1" : "0");