klte-common: power: Update power hal extension for new qti hal

* And fix the LOG_TAG while we're at it

Change-Id: I81678e10385fef4c6881c17813f8ffa89caa2629
This commit is contained in:
Paul Keith 2017-12-31 02:25:55 +01:00 committed by Kevin F. Haggerty
parent 26ec92cc67
commit fb7006f016
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#include <string.h>
#include <fcntl.h>
#define LOG_TAG "PowerHAL_H_Ext"
#define LOG_TAG "PowerHAL_K_Ext"
#include <utils/Log.h>
/* 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");