diff options
author | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-07-23 21:00:39 +0200 |
---|---|---|
committer | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-07-23 21:00:39 +0200 |
commit | 24f1e9b47f29ec6f3af688b8b3c210a996b9fd7f (patch) | |
tree | f0c6a3d7505a43cb0ca8a14be6f81f28a841ad05 /liblights | |
parent | 369fe5a180049ebbc0970d91070e5631d1326da8 (diff) | |
download | device_samsung_p3100-24f1e9b47f29ec6f3af688b8b3c210a996b9fd7f.zip device_samsung_p3100-24f1e9b47f29ec6f3af688b8b3c210a996b9fd7f.tar.gz device_samsung_p3100-24f1e9b47f29ec6f3af688b8b3c210a996b9fd7f.tar.bz2 |
jellybeaned
Diffstat (limited to 'liblights')
-rw-r--r-- | liblights/lights.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/liblights/lights.c b/liblights/lights.c index bd952a7..aae53f3 100644 --- a/liblights/lights.c +++ b/liblights/lights.c @@ -54,7 +54,7 @@ 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; @@ -84,7 +84,7 @@ set_light_backlight(struct light_device_t *dev, int brightness = rgb_to_brightness(state); pthread_mutex_lock(&g_lock); - LOGD("set_light_backlight brightness=%d\n", brightness); + ALOGD("set_light_backlight brightness=%d\n", brightness); err = write_int(LCD_FILE, brightness); pthread_mutex_unlock(&g_lock); @@ -93,7 +93,7 @@ set_light_backlight(struct light_device_t *dev, static int close_lights(struct light_device_t *dev) { - LOGV("close_light is called"); + ALOGV("close_light is called"); if (dev) free(dev); @@ -131,7 +131,7 @@ static struct hw_module_methods_t lights_module_methods = { .open = open_lights, }; -const struct hw_module_t HAL_MODULE_INFO_SYM = { +struct hw_module_t HAL_MODULE_INFO_SYM = { .tag = HARDWARE_MODULE_TAG, .version_major = 1, .version_minor = 0, |