summaryrefslogtreecommitdiffstats
path: root/liblight
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-08 10:19:03 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:20 +0000
commit87efd3f274564ba53f4956f99766262acd04db30 (patch)
treeaf1f4d338daf8e66ab6368029d55bdfd947bb1f3 /liblight
parent0579122fe9723e950e06a8986f36395f0dd121c6 (diff)
downloaddevice_samsung_tuna-87efd3f274564ba53f4956f99766262acd04db30.zip
device_samsung_tuna-87efd3f274564ba53f4956f99766262acd04db30.tar.gz
device_samsung_tuna-87efd3f274564ba53f4956f99766262acd04db30.tar.bz2
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I2e1c43800c19b718cc7ee94ec299c62bc14873b4
Diffstat (limited to 'liblight')
-rw-r--r--liblight/lights.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/liblight/lights.c b/liblight/lights.c
index 52bce3f..ff8b28e 100644
--- a/liblight/lights.c
+++ b/liblight/lights.c
@@ -65,7 +65,7 @@ static int write_int(char const *path, int value)
return amt == -1 ? -errno : 0;
} else {
if (already_warned == 0) {
- LOGE("write_int failed to open %s\n", path);
+ ALOGE("write_int failed to open %s\n", path);
already_warned = 1;
}
return -errno;
@@ -115,15 +115,15 @@ static int write_leds(struct an30259a_pr_control *led)
if (fd >= 0) {
err = ioctl(fd, AN30259A_PR_SET_IMAX, &imax);
if (err)
- LOGE("failed to set imax");
+ ALOGE("failed to set imax");
err = ioctl(fd, AN30259A_PR_SET_LED, led);
if (err < 0)
- LOGE("failed to set leds!");
+ ALOGE("failed to set leds!");
close(fd);
} else {
- LOGE("failed to open %s!", LED_FILE);
+ ALOGE("failed to open %s!", LED_FILE);
err = -errno;
}